From a2154d601cfa1aa8e1575f54aa55b85b4460ced9 Mon Sep 17 00:00:00 2001 From: CI Date: Sat, 11 Nov 2023 10:01:02 +0000 Subject: [PATCH] Update vendored dependencies --- src/os-conf-acceptance-tests/go.mod | 16 +-- src/os-conf-acceptance-tests/go.sum | 36 +++--- .../vendor/github.com/go-logr/logr/README.md | 113 +++++++++++++++++- .../github.com/go-logr/logr/SECURITY.md | 18 +++ .../github.com/go-logr/logr/funcr/funcr.go | 48 ++++---- .../vendor/github.com/go-logr/logr/logr.go | 35 ++++-- .../github.com/google/go-cmp/cmp/compare.go | 38 +++--- .../cmp/{export_unsafe.go => export.go} | 5 - .../google/go-cmp/cmp/export_panic.go | 16 --- .../value/{pointer_unsafe.go => pointer.go} | 3 - .../cmp/internal/value/pointer_purego.go | 34 ------ .../github.com/google/go-cmp/cmp/options.go | 84 ++++++------- .../github.com/google/go-cmp/cmp/path.go | 46 ++++--- .../google/go-cmp/cmp/report_reflect.go | 2 +- .../github.com/onsi/ginkgo/v2/CHANGELOG.md | 12 ++ .../ginkgo/v2/ginkgo/internal/test_suite.go | 3 +- .../onsi/ginkgo/v2/types/version.go | 2 +- .../github.com/onsi/gomega/CHANGELOG.md | 29 +++++ .../github.com/onsi/gomega/gomega_dsl.go | 10 +- .../vendor/github.com/onsi/gomega/matchers.go | 39 ++++-- .../gomega/matchers/have_http_body_matcher.go | 9 +- .../gomega/matchers/match_error_matcher.go | 25 +++- .../vendor/golang.org/x/net/context/go17.go | 1 - .../vendor/golang.org/x/net/context/go19.go | 1 - .../golang.org/x/net/context/pre_go17.go | 1 - .../golang.org/x/net/context/pre_go19.go | 1 - .../vendor/golang.org/x/sys/unix/aliases.go | 2 - .../golang.org/x/sys/unix/asm_aix_ppc64.s | 1 - .../golang.org/x/sys/unix/asm_bsd_386.s | 2 - .../golang.org/x/sys/unix/asm_bsd_amd64.s | 2 - .../golang.org/x/sys/unix/asm_bsd_arm.s | 2 - .../golang.org/x/sys/unix/asm_bsd_arm64.s | 2 - .../golang.org/x/sys/unix/asm_bsd_ppc64.s | 2 - .../golang.org/x/sys/unix/asm_bsd_riscv64.s | 2 - .../golang.org/x/sys/unix/asm_linux_386.s | 1 - .../golang.org/x/sys/unix/asm_linux_amd64.s | 1 - .../golang.org/x/sys/unix/asm_linux_arm.s | 1 - .../golang.org/x/sys/unix/asm_linux_arm64.s | 3 - .../golang.org/x/sys/unix/asm_linux_loong64.s | 3 - .../golang.org/x/sys/unix/asm_linux_mips64x.s | 3 - .../golang.org/x/sys/unix/asm_linux_mipsx.s | 3 - .../golang.org/x/sys/unix/asm_linux_ppc64x.s | 3 - .../golang.org/x/sys/unix/asm_linux_riscv64.s | 2 - .../golang.org/x/sys/unix/asm_linux_s390x.s | 3 - .../x/sys/unix/asm_openbsd_mips64.s | 1 - .../golang.org/x/sys/unix/asm_solaris_amd64.s | 1 - .../golang.org/x/sys/unix/asm_zos_s390x.s | 3 - .../golang.org/x/sys/unix/cap_freebsd.go | 1 - .../vendor/golang.org/x/sys/unix/constants.go | 1 - .../golang.org/x/sys/unix/dev_aix_ppc.go | 1 - .../golang.org/x/sys/unix/dev_aix_ppc64.go | 1 - .../vendor/golang.org/x/sys/unix/dev_zos.go | 1 - .../vendor/golang.org/x/sys/unix/dirent.go | 1 - .../golang.org/x/sys/unix/endian_big.go | 1 - .../golang.org/x/sys/unix/endian_little.go | 1 - .../vendor/golang.org/x/sys/unix/env_unix.go | 1 - .../vendor/golang.org/x/sys/unix/epoll_zos.go | 1 - .../vendor/golang.org/x/sys/unix/fcntl.go | 1 - .../x/sys/unix/fcntl_linux_32bit.go | 1 - .../vendor/golang.org/x/sys/unix/fdset.go | 1 - .../golang.org/x/sys/unix/fstatfs_zos.go | 1 - .../vendor/golang.org/x/sys/unix/gccgo.go | 1 - .../vendor/golang.org/x/sys/unix/gccgo_c.c | 1 - .../x/sys/unix/gccgo_linux_amd64.go | 1 - .../golang.org/x/sys/unix/ifreq_linux.go | 1 - .../golang.org/x/sys/unix/ioctl_signed.go | 1 - .../golang.org/x/sys/unix/ioctl_unsigned.go | 1 - .../vendor/golang.org/x/sys/unix/ioctl_zos.go | 1 - .../vendor/golang.org/x/sys/unix/mkerrors.sh | 1 - .../golang.org/x/sys/unix/mmap_nomremap.go | 1 - .../vendor/golang.org/x/sys/unix/mremap.go | 1 - .../golang.org/x/sys/unix/pagesize_unix.go | 1 - .../golang.org/x/sys/unix/pledge_openbsd.go | 92 ++++---------- .../golang.org/x/sys/unix/ptrace_darwin.go | 1 - .../golang.org/x/sys/unix/ptrace_ios.go | 1 - .../vendor/golang.org/x/sys/unix/race.go | 1 - .../vendor/golang.org/x/sys/unix/race0.go | 1 - .../x/sys/unix/readdirent_getdents.go | 1 - .../x/sys/unix/readdirent_getdirentries.go | 1 - .../golang.org/x/sys/unix/sockcmsg_unix.go | 1 - .../x/sys/unix/sockcmsg_unix_other.go | 1 - .../vendor/golang.org/x/sys/unix/syscall.go | 1 - .../golang.org/x/sys/unix/syscall_aix.go | 4 +- .../golang.org/x/sys/unix/syscall_aix_ppc.go | 1 - .../x/sys/unix/syscall_aix_ppc64.go | 1 - .../golang.org/x/sys/unix/syscall_bsd.go | 1 - .../x/sys/unix/syscall_darwin_amd64.go | 1 - .../x/sys/unix/syscall_darwin_arm64.go | 1 - .../x/sys/unix/syscall_darwin_libSystem.go | 1 - .../x/sys/unix/syscall_dragonfly_amd64.go | 1 - .../x/sys/unix/syscall_freebsd_386.go | 1 - .../x/sys/unix/syscall_freebsd_amd64.go | 1 - .../x/sys/unix/syscall_freebsd_arm.go | 1 - .../x/sys/unix/syscall_freebsd_arm64.go | 1 - .../x/sys/unix/syscall_freebsd_riscv64.go | 1 - .../golang.org/x/sys/unix/syscall_hurd.go | 1 - .../golang.org/x/sys/unix/syscall_hurd_386.go | 1 - .../golang.org/x/sys/unix/syscall_illumos.go | 1 - .../golang.org/x/sys/unix/syscall_linux.go | 5 +- .../x/sys/unix/syscall_linux_386.go | 1 - .../x/sys/unix/syscall_linux_alarm.go | 2 - .../x/sys/unix/syscall_linux_amd64.go | 1 - .../x/sys/unix/syscall_linux_amd64_gc.go | 1 - .../x/sys/unix/syscall_linux_arm.go | 1 - .../x/sys/unix/syscall_linux_arm64.go | 1 - .../golang.org/x/sys/unix/syscall_linux_gc.go | 1 - .../x/sys/unix/syscall_linux_gc_386.go | 1 - .../x/sys/unix/syscall_linux_gc_arm.go | 1 - .../x/sys/unix/syscall_linux_gccgo_386.go | 1 - .../x/sys/unix/syscall_linux_gccgo_arm.go | 1 - .../x/sys/unix/syscall_linux_loong64.go | 1 - .../x/sys/unix/syscall_linux_mips64x.go | 2 - .../x/sys/unix/syscall_linux_mipsx.go | 2 - .../x/sys/unix/syscall_linux_ppc.go | 1 - .../x/sys/unix/syscall_linux_ppc64x.go | 2 - .../x/sys/unix/syscall_linux_riscv64.go | 1 - .../x/sys/unix/syscall_linux_s390x.go | 1 - .../x/sys/unix/syscall_linux_sparc64.go | 1 - .../x/sys/unix/syscall_netbsd_386.go | 1 - .../x/sys/unix/syscall_netbsd_amd64.go | 1 - .../x/sys/unix/syscall_netbsd_arm.go | 1 - .../x/sys/unix/syscall_netbsd_arm64.go | 1 - .../golang.org/x/sys/unix/syscall_openbsd.go | 14 +-- .../x/sys/unix/syscall_openbsd_386.go | 1 - .../x/sys/unix/syscall_openbsd_amd64.go | 1 - .../x/sys/unix/syscall_openbsd_arm.go | 1 - .../x/sys/unix/syscall_openbsd_arm64.go | 1 - .../x/sys/unix/syscall_openbsd_libc.go | 1 - .../x/sys/unix/syscall_openbsd_ppc64.go | 1 - .../x/sys/unix/syscall_openbsd_riscv64.go | 1 - .../golang.org/x/sys/unix/syscall_solaris.go | 3 +- .../x/sys/unix/syscall_solaris_amd64.go | 1 - .../golang.org/x/sys/unix/syscall_unix.go | 1 - .../golang.org/x/sys/unix/syscall_unix_gc.go | 2 - .../x/sys/unix/syscall_unix_gc_ppc64x.go | 3 - .../x/sys/unix/syscall_zos_s390x.go | 1 - .../golang.org/x/sys/unix/sysvshm_linux.go | 1 - .../golang.org/x/sys/unix/sysvshm_unix.go | 1 - .../x/sys/unix/sysvshm_unix_other.go | 1 - .../golang.org/x/sys/unix/timestruct.go | 1 - .../golang.org/x/sys/unix/unveil_openbsd.go | 41 ++++--- .../vendor/golang.org/x/sys/unix/xattr_bsd.go | 1 - .../golang.org/x/sys/unix/zerrors_aix_ppc.go | 1 - .../x/sys/unix/zerrors_aix_ppc64.go | 1 - .../x/sys/unix/zerrors_darwin_amd64.go | 1 - .../x/sys/unix/zerrors_darwin_arm64.go | 1 - .../x/sys/unix/zerrors_dragonfly_amd64.go | 1 - .../x/sys/unix/zerrors_freebsd_386.go | 1 - .../x/sys/unix/zerrors_freebsd_amd64.go | 1 - .../x/sys/unix/zerrors_freebsd_arm.go | 1 - .../x/sys/unix/zerrors_freebsd_arm64.go | 1 - .../x/sys/unix/zerrors_freebsd_riscv64.go | 1 - .../golang.org/x/sys/unix/zerrors_linux.go | 14 ++- .../x/sys/unix/zerrors_linux_386.go | 1 - .../x/sys/unix/zerrors_linux_amd64.go | 1 - .../x/sys/unix/zerrors_linux_arm.go | 1 - .../x/sys/unix/zerrors_linux_arm64.go | 1 - .../x/sys/unix/zerrors_linux_loong64.go | 2 +- .../x/sys/unix/zerrors_linux_mips.go | 1 - .../x/sys/unix/zerrors_linux_mips64.go | 1 - .../x/sys/unix/zerrors_linux_mips64le.go | 1 - .../x/sys/unix/zerrors_linux_mipsle.go | 1 - .../x/sys/unix/zerrors_linux_ppc.go | 1 - .../x/sys/unix/zerrors_linux_ppc64.go | 1 - .../x/sys/unix/zerrors_linux_ppc64le.go | 1 - .../x/sys/unix/zerrors_linux_riscv64.go | 4 +- .../x/sys/unix/zerrors_linux_s390x.go | 1 - .../x/sys/unix/zerrors_linux_sparc64.go | 1 - .../x/sys/unix/zerrors_netbsd_386.go | 1 - .../x/sys/unix/zerrors_netbsd_amd64.go | 1 - .../x/sys/unix/zerrors_netbsd_arm.go | 1 - .../x/sys/unix/zerrors_netbsd_arm64.go | 1 - .../x/sys/unix/zerrors_openbsd_386.go | 1 - .../x/sys/unix/zerrors_openbsd_amd64.go | 1 - .../x/sys/unix/zerrors_openbsd_arm.go | 1 - .../x/sys/unix/zerrors_openbsd_arm64.go | 1 - .../x/sys/unix/zerrors_openbsd_mips64.go | 1 - .../x/sys/unix/zerrors_openbsd_ppc64.go | 1 - .../x/sys/unix/zerrors_openbsd_riscv64.go | 1 - .../x/sys/unix/zerrors_solaris_amd64.go | 1 - .../x/sys/unix/zerrors_zos_s390x.go | 1 - .../x/sys/unix/zptrace_armnn_linux.go | 2 - .../x/sys/unix/zptrace_mipsnn_linux.go | 2 - .../x/sys/unix/zptrace_mipsnnle_linux.go | 2 - .../x/sys/unix/zptrace_x86_linux.go | 2 - .../golang.org/x/sys/unix/zsyscall_aix_ppc.go | 1 - .../x/sys/unix/zsyscall_aix_ppc64.go | 1 - .../x/sys/unix/zsyscall_aix_ppc64_gc.go | 1 - .../x/sys/unix/zsyscall_aix_ppc64_gccgo.go | 1 - .../x/sys/unix/zsyscall_darwin_amd64.go | 1 - .../x/sys/unix/zsyscall_darwin_arm64.go | 1 - .../x/sys/unix/zsyscall_dragonfly_amd64.go | 1 - .../x/sys/unix/zsyscall_freebsd_386.go | 1 - .../x/sys/unix/zsyscall_freebsd_amd64.go | 1 - .../x/sys/unix/zsyscall_freebsd_arm.go | 1 - .../x/sys/unix/zsyscall_freebsd_arm64.go | 1 - .../x/sys/unix/zsyscall_freebsd_riscv64.go | 1 - .../x/sys/unix/zsyscall_illumos_amd64.go | 1 - .../golang.org/x/sys/unix/zsyscall_linux.go | 11 +- .../x/sys/unix/zsyscall_linux_386.go | 1 - .../x/sys/unix/zsyscall_linux_amd64.go | 1 - .../x/sys/unix/zsyscall_linux_arm.go | 1 - .../x/sys/unix/zsyscall_linux_arm64.go | 1 - .../x/sys/unix/zsyscall_linux_loong64.go | 1 - .../x/sys/unix/zsyscall_linux_mips.go | 1 - .../x/sys/unix/zsyscall_linux_mips64.go | 1 - .../x/sys/unix/zsyscall_linux_mips64le.go | 1 - .../x/sys/unix/zsyscall_linux_mipsle.go | 1 - .../x/sys/unix/zsyscall_linux_ppc.go | 1 - .../x/sys/unix/zsyscall_linux_ppc64.go | 1 - .../x/sys/unix/zsyscall_linux_ppc64le.go | 1 - .../x/sys/unix/zsyscall_linux_riscv64.go | 1 - .../x/sys/unix/zsyscall_linux_s390x.go | 1 - .../x/sys/unix/zsyscall_linux_sparc64.go | 1 - .../x/sys/unix/zsyscall_netbsd_386.go | 1 - .../x/sys/unix/zsyscall_netbsd_amd64.go | 1 - .../x/sys/unix/zsyscall_netbsd_arm.go | 1 - .../x/sys/unix/zsyscall_netbsd_arm64.go | 1 - .../x/sys/unix/zsyscall_openbsd_386.go | 46 ++++++- .../x/sys/unix/zsyscall_openbsd_386.s | 15 +++ .../x/sys/unix/zsyscall_openbsd_amd64.go | 46 ++++++- .../x/sys/unix/zsyscall_openbsd_amd64.s | 15 +++ .../x/sys/unix/zsyscall_openbsd_arm.go | 46 ++++++- .../x/sys/unix/zsyscall_openbsd_arm.s | 15 +++ .../x/sys/unix/zsyscall_openbsd_arm64.go | 46 ++++++- .../x/sys/unix/zsyscall_openbsd_arm64.s | 15 +++ .../x/sys/unix/zsyscall_openbsd_mips64.go | 46 ++++++- .../x/sys/unix/zsyscall_openbsd_mips64.s | 15 +++ .../x/sys/unix/zsyscall_openbsd_ppc64.go | 46 ++++++- .../x/sys/unix/zsyscall_openbsd_ppc64.s | 18 +++ .../x/sys/unix/zsyscall_openbsd_riscv64.go | 46 ++++++- .../x/sys/unix/zsyscall_openbsd_riscv64.s | 15 +++ .../x/sys/unix/zsyscall_solaris_amd64.go | 1 - .../x/sys/unix/zsyscall_zos_s390x.go | 1 - .../x/sys/unix/zsysctl_openbsd_386.go | 1 - .../x/sys/unix/zsysctl_openbsd_amd64.go | 1 - .../x/sys/unix/zsysctl_openbsd_arm.go | 1 - .../x/sys/unix/zsysctl_openbsd_arm64.go | 1 - .../x/sys/unix/zsysctl_openbsd_mips64.go | 1 - .../x/sys/unix/zsysctl_openbsd_ppc64.go | 1 - .../x/sys/unix/zsysctl_openbsd_riscv64.go | 1 - .../x/sys/unix/zsysnum_darwin_amd64.go | 1 - .../x/sys/unix/zsysnum_darwin_arm64.go | 1 - .../x/sys/unix/zsysnum_dragonfly_amd64.go | 1 - .../x/sys/unix/zsysnum_freebsd_386.go | 1 - .../x/sys/unix/zsysnum_freebsd_amd64.go | 1 - .../x/sys/unix/zsysnum_freebsd_arm.go | 1 - .../x/sys/unix/zsysnum_freebsd_arm64.go | 1 - .../x/sys/unix/zsysnum_freebsd_riscv64.go | 1 - .../x/sys/unix/zsysnum_linux_386.go | 2 +- .../x/sys/unix/zsysnum_linux_amd64.go | 3 +- .../x/sys/unix/zsysnum_linux_arm.go | 2 +- .../x/sys/unix/zsysnum_linux_arm64.go | 2 +- .../x/sys/unix/zsysnum_linux_loong64.go | 2 +- .../x/sys/unix/zsysnum_linux_mips.go | 2 +- .../x/sys/unix/zsysnum_linux_mips64.go | 2 +- .../x/sys/unix/zsysnum_linux_mips64le.go | 2 +- .../x/sys/unix/zsysnum_linux_mipsle.go | 2 +- .../x/sys/unix/zsysnum_linux_ppc.go | 2 +- .../x/sys/unix/zsysnum_linux_ppc64.go | 2 +- .../x/sys/unix/zsysnum_linux_ppc64le.go | 2 +- .../x/sys/unix/zsysnum_linux_riscv64.go | 2 +- .../x/sys/unix/zsysnum_linux_s390x.go | 2 +- .../x/sys/unix/zsysnum_linux_sparc64.go | 2 +- .../x/sys/unix/zsysnum_netbsd_386.go | 1 - .../x/sys/unix/zsysnum_netbsd_amd64.go | 1 - .../x/sys/unix/zsysnum_netbsd_arm.go | 1 - .../x/sys/unix/zsysnum_netbsd_arm64.go | 1 - .../x/sys/unix/zsysnum_openbsd_386.go | 1 - .../x/sys/unix/zsysnum_openbsd_amd64.go | 1 - .../x/sys/unix/zsysnum_openbsd_arm.go | 1 - .../x/sys/unix/zsysnum_openbsd_arm64.go | 1 - .../x/sys/unix/zsysnum_openbsd_mips64.go | 1 - .../x/sys/unix/zsysnum_openbsd_ppc64.go | 1 - .../x/sys/unix/zsysnum_openbsd_riscv64.go | 1 - .../x/sys/unix/zsysnum_zos_s390x.go | 1 - .../golang.org/x/sys/unix/ztypes_aix_ppc.go | 1 - .../golang.org/x/sys/unix/ztypes_aix_ppc64.go | 1 - .../x/sys/unix/ztypes_darwin_amd64.go | 1 - .../x/sys/unix/ztypes_darwin_arm64.go | 1 - .../x/sys/unix/ztypes_dragonfly_amd64.go | 1 - .../x/sys/unix/ztypes_freebsd_386.go | 1 - .../x/sys/unix/ztypes_freebsd_amd64.go | 1 - .../x/sys/unix/ztypes_freebsd_arm.go | 1 - .../x/sys/unix/ztypes_freebsd_arm64.go | 1 - .../x/sys/unix/ztypes_freebsd_riscv64.go | 1 - .../golang.org/x/sys/unix/ztypes_linux.go | 13 +- .../golang.org/x/sys/unix/ztypes_linux_386.go | 1 - .../x/sys/unix/ztypes_linux_amd64.go | 1 - .../golang.org/x/sys/unix/ztypes_linux_arm.go | 1 - .../x/sys/unix/ztypes_linux_arm64.go | 1 - .../x/sys/unix/ztypes_linux_loong64.go | 1 - .../x/sys/unix/ztypes_linux_mips.go | 1 - .../x/sys/unix/ztypes_linux_mips64.go | 1 - .../x/sys/unix/ztypes_linux_mips64le.go | 1 - .../x/sys/unix/ztypes_linux_mipsle.go | 1 - .../golang.org/x/sys/unix/ztypes_linux_ppc.go | 1 - .../x/sys/unix/ztypes_linux_ppc64.go | 1 - .../x/sys/unix/ztypes_linux_ppc64le.go | 1 - .../x/sys/unix/ztypes_linux_riscv64.go | 1 - .../x/sys/unix/ztypes_linux_s390x.go | 1 - .../x/sys/unix/ztypes_linux_sparc64.go | 1 - .../x/sys/unix/ztypes_netbsd_386.go | 1 - .../x/sys/unix/ztypes_netbsd_amd64.go | 1 - .../x/sys/unix/ztypes_netbsd_arm.go | 1 - .../x/sys/unix/ztypes_netbsd_arm64.go | 1 - .../x/sys/unix/ztypes_openbsd_386.go | 1 - .../x/sys/unix/ztypes_openbsd_amd64.go | 1 - .../x/sys/unix/ztypes_openbsd_arm.go | 1 - .../x/sys/unix/ztypes_openbsd_arm64.go | 1 - .../x/sys/unix/ztypes_openbsd_mips64.go | 1 - .../x/sys/unix/ztypes_openbsd_ppc64.go | 1 - .../x/sys/unix/ztypes_openbsd_riscv64.go | 1 - .../x/sys/unix/ztypes_solaris_amd64.go | 1 - .../golang.org/x/sys/unix/ztypes_zos_s390x.go | 1 - .../vendor/modules.txt | 24 ++-- 316 files changed, 953 insertions(+), 644 deletions(-) create mode 100644 src/os-conf-acceptance-tests/vendor/github.com/go-logr/logr/SECURITY.md rename src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/{export_unsafe.go => export.go} (94%) delete mode 100644 src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/export_panic.go rename src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/internal/value/{pointer_unsafe.go => pointer.go} (95%) delete mode 100644 src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/internal/value/pointer_purego.go diff --git a/src/os-conf-acceptance-tests/go.mod b/src/os-conf-acceptance-tests/go.mod index 2856f37..5ad108e 100644 --- a/src/os-conf-acceptance-tests/go.mod +++ b/src/os-conf-acceptance-tests/go.mod @@ -3,18 +3,18 @@ module github.com/cloudfoundry/os-conf-release/src/os-conf-acceptance-tests go 1.21 require ( - github.com/onsi/ginkgo/v2 v2.13.0 - github.com/onsi/gomega v1.27.10 + github.com/onsi/ginkgo/v2 v2.13.1 + github.com/onsi/gomega v1.29.0 ) require ( - github.com/go-logr/logr v1.2.4 // indirect + github.com/go-logr/logr v1.3.0 // indirect github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect - github.com/google/go-cmp v0.5.9 // indirect + github.com/google/go-cmp v0.6.0 // indirect github.com/google/pprof v0.0.0-20231101202521-4ca4178f5c7a // indirect - golang.org/x/net v0.16.0 // indirect - golang.org/x/sys v0.13.0 // indirect - golang.org/x/text v0.13.0 // indirect - golang.org/x/tools v0.14.0 // indirect + golang.org/x/net v0.18.0 // indirect + golang.org/x/sys v0.14.0 // indirect + golang.org/x/text v0.14.0 // indirect + golang.org/x/tools v0.15.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/src/os-conf-acceptance-tests/go.sum b/src/os-conf-acceptance-tests/go.sum index b786a7e..a3f638a 100644 --- a/src/os-conf-acceptance-tests/go.sum +++ b/src/os-conf-acceptance-tests/go.sum @@ -1,35 +1,35 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= -github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.3.0 h1:2y3SDp0ZXuc6/cjLSZ+Q3ir+QB9T/iG5yYRXqsagWSY= +github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/pprof v0.0.0-20231101202521-4ca4178f5c7a h1:fEBsGL/sjAuJrgah5XqmmYsTLzJp/TO9Lhy39gkverk= github.com/google/pprof v0.0.0-20231101202521-4ca4178f5c7a/go.mod h1:czg5+yv1E0ZGTi6S6vVK1mke0fV+FaUhNGcd6VRS9Ik= -github.com/onsi/ginkgo/v2 v2.13.0 h1:0jY9lJquiL8fcf3M4LAXN5aMlS/b2BV86HFFPCPMgE4= -github.com/onsi/ginkgo/v2 v2.13.0/go.mod h1:TE309ZR8s5FsKKpuB1YAQYBzCaAfUgatB/xlT/ETL/o= -github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= -github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= +github.com/onsi/ginkgo/v2 v2.13.1 h1:LNGfMbR2OVGBfXjvRZIZ2YCTQdGKtPLvuI1rMCCj3OU= +github.com/onsi/ginkgo/v2 v2.13.1/go.mod h1:XStQ8QcGwLyF4HdfcZB8SFOS/MWCgDuXMSBe6zrvLgM= +github.com/onsi/gomega v1.29.0 h1:KIA/t2t5UBzoirT4H9tsML45GEbo3ouUnBHsCfD2tVg= +github.com/onsi/gomega v1.29.0/go.mod h1:9sxs+SwGrKI0+PWe4Fxa9tFQQBG5xSsSbMXOI8PPpoQ= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= -golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.16.0 h1:7eBu7KsSvFDtSXUIDbh3aqlK4DPsZ1rByC8PFfBThos= -golang.org/x/net v0.16.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= -golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= -golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= -golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= -golang.org/x/tools v0.14.0 h1:jvNa2pY0M4r62jkRQ6RwEZZyPcymeL9XZMLBbV7U2nc= -golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= +golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= +golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/net v0.18.0 h1:mIYleuAkSbHh0tCv7RvjL3F6ZVbLjq4+R7zbOn3Kokg= +golang.org/x/net v0.18.0/go.mod h1:/czyP5RqHAH4odGYxBJ1qz0+CE5WZ+2j1YgoEo8F2jQ= +golang.org/x/sys v0.14.0 h1:Vz7Qs629MkJkGyHxUlRHizWJRG2j8fbQKjELVSNhy7Q= +golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/tools v0.15.0 h1:zdAyfUGbYmuVokhzVmghFl2ZJh5QhcfebBgmVPFYA+8= +golang.org/x/tools v0.15.0/go.mod h1:hpksKq4dtpQWS1uQ61JkdqWM3LscIS6Slf+VVkm+wQk= google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= diff --git a/src/os-conf-acceptance-tests/vendor/github.com/go-logr/logr/README.md b/src/os-conf-acceptance-tests/vendor/github.com/go-logr/logr/README.md index ab59311..a8c29bf 100644 --- a/src/os-conf-acceptance-tests/vendor/github.com/go-logr/logr/README.md +++ b/src/os-conf-acceptance-tests/vendor/github.com/go-logr/logr/README.md @@ -1,6 +1,7 @@ # A minimal logging API for Go [![Go Reference](https://pkg.go.dev/badge/github.com/go-logr/logr.svg)](https://pkg.go.dev/github.com/go-logr/logr) +[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/go-logr/logr/badge)](https://securityscorecards.dev/viewer/?platform=github.com&org=go-logr&repo=logr) logr offers an(other) opinion on how Go programs and libraries can do logging without becoming coupled to a particular logging implementation. This is not @@ -73,6 +74,29 @@ received: If the Go standard library had defined an interface for logging, this project probably would not be needed. Alas, here we are. +When the Go developers started developing such an interface with +[slog](https://github.com/golang/go/issues/56345), they adopted some of the +logr design but also left out some parts and changed others: + +| Feature | logr | slog | +|---------|------|------| +| High-level API | `Logger` (passed by value) | `Logger` (passed by [pointer](https://github.com/golang/go/issues/59126)) | +| Low-level API | `LogSink` | `Handler` | +| Stack unwinding | done by `LogSink` | done by `Logger` | +| Skipping helper functions | `WithCallDepth`, `WithCallStackHelper` | [not supported by Logger](https://github.com/golang/go/issues/59145) | +| Generating a value for logging on demand | `Marshaler` | `LogValuer` | +| Log levels | >= 0, higher meaning "less important" | positive and negative, with 0 for "info" and higher meaning "more important" | +| Error log entries | always logged, don't have a verbosity level | normal log entries with level >= `LevelError` | +| Passing logger via context | `NewContext`, `FromContext` | no API | +| Adding a name to a logger | `WithName` | no API | +| Modify verbosity of log entries in a call chain | `V` | no API | +| Grouping of key/value pairs | not supported | `WithGroup`, `GroupValue` | + +The high-level slog API is explicitly meant to be one of many different APIs +that can be layered on top of a shared `slog.Handler`. logr is one such +alternative API, with [interoperability](#slog-interoperability) provided by the [`slogr`](slogr) +package. + ### Inspiration Before you consider this package, please read [this blog post by the @@ -118,6 +142,91 @@ There are implementations for the following logging libraries: - **github.com/go-kit/log**: [gokitlogr](https://github.com/tonglil/gokitlogr) (also compatible with github.com/go-kit/kit/log since v0.12.0) - **bytes.Buffer** (writing to a buffer): [bufrlogr](https://github.com/tonglil/buflogr) (useful for ensuring values were logged, like during testing) +## slog interoperability + +Interoperability goes both ways, using the `logr.Logger` API with a `slog.Handler` +and using the `slog.Logger` API with a `logr.LogSink`. [slogr](./slogr) provides `NewLogr` and +`NewSlogHandler` API calls to convert between a `logr.Logger` and a `slog.Handler`. +As usual, `slog.New` can be used to wrap such a `slog.Handler` in the high-level +slog API. `slogr` itself leaves that to the caller. + +## Using a `logr.Sink` as backend for slog + +Ideally, a logr sink implementation should support both logr and slog by +implementing both the normal logr interface(s) and `slogr.SlogSink`. Because +of a conflict in the parameters of the common `Enabled` method, it is [not +possible to implement both slog.Handler and logr.Sink in the same +type](https://github.com/golang/go/issues/59110). + +If both are supported, log calls can go from the high-level APIs to the backend +without the need to convert parameters. `NewLogr` and `NewSlogHandler` can +convert back and forth without adding additional wrappers, with one exception: +when `Logger.V` was used to adjust the verbosity for a `slog.Handler`, then +`NewSlogHandler` has to use a wrapper which adjusts the verbosity for future +log calls. + +Such an implementation should also support values that implement specific +interfaces from both packages for logging (`logr.Marshaler`, `slog.LogValuer`, +`slog.GroupValue`). logr does not convert those. + +Not supporting slog has several drawbacks: +- Recording source code locations works correctly if the handler gets called + through `slog.Logger`, but may be wrong in other cases. That's because a + `logr.Sink` does its own stack unwinding instead of using the program counter + provided by the high-level API. +- slog levels <= 0 can be mapped to logr levels by negating the level without a + loss of information. But all slog levels > 0 (e.g. `slog.LevelWarning` as + used by `slog.Logger.Warn`) must be mapped to 0 before calling the sink + because logr does not support "more important than info" levels. +- The slog group concept is supported by prefixing each key in a key/value + pair with the group names, separated by a dot. For structured output like + JSON it would be better to group the key/value pairs inside an object. +- Special slog values and interfaces don't work as expected. +- The overhead is likely to be higher. + +These drawbacks are severe enough that applications using a mixture of slog and +logr should switch to a different backend. + +## Using a `slog.Handler` as backend for logr + +Using a plain `slog.Handler` without support for logr works better than the +other direction: +- All logr verbosity levels can be mapped 1:1 to their corresponding slog level + by negating them. +- Stack unwinding is done by the `slogr.SlogSink` and the resulting program + counter is passed to the `slog.Handler`. +- Names added via `Logger.WithName` are gathered and recorded in an additional + attribute with `logger` as key and the names separated by slash as value. +- `Logger.Error` is turned into a log record with `slog.LevelError` as level + and an additional attribute with `err` as key, if an error was provided. + +The main drawback is that `logr.Marshaler` will not be supported. Types should +ideally support both `logr.Marshaler` and `slog.Valuer`. If compatibility +with logr implementations without slog support is not important, then +`slog.Valuer` is sufficient. + +## Context support for slog + +Storing a logger in a `context.Context` is not supported by +slog. `logr.NewContext` and `logr.FromContext` can be used with slog like this +to fill this gap: + + func HandlerFromContext(ctx context.Context) slog.Handler { + logger, err := logr.FromContext(ctx) + if err == nil { + return slogr.NewSlogHandler(logger) + } + return slog.Default().Handler() + } + + func ContextWithHandler(ctx context.Context, handler slog.Handler) context.Context { + return logr.NewContext(ctx, slogr.NewLogr(handler)) + } + +The downside is that storing and retrieving a `slog.Handler` needs more +allocations compared to using a `logr.Logger`. Therefore the recommendation is +to use the `logr.Logger` API in code which uses contextual logging. + ## FAQ ### Conceptual @@ -241,7 +350,9 @@ Otherwise, you can start out with `0` as "you always want to see this", Then gradually choose levels in between as you need them, working your way down from 10 (for debug and trace style logs) and up from 1 (for chattier -info-type logs.) +info-type logs). For reference, slog pre-defines -4 for debug logs +(corresponds to 4 in logr), which matches what is +[recommended for Kubernetes](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-instrumentation/logging.md#what-method-to-use). #### How do I choose my keys? diff --git a/src/os-conf-acceptance-tests/vendor/github.com/go-logr/logr/SECURITY.md b/src/os-conf-acceptance-tests/vendor/github.com/go-logr/logr/SECURITY.md new file mode 100644 index 0000000..1ca756f --- /dev/null +++ b/src/os-conf-acceptance-tests/vendor/github.com/go-logr/logr/SECURITY.md @@ -0,0 +1,18 @@ +# Security Policy + +If you have discovered a security vulnerability in this project, please report it +privately. **Do not disclose it as a public issue.** This gives us time to work with you +to fix the issue before public exposure, reducing the chance that the exploit will be +used before a patch is released. + +You may submit the report in the following ways: + +- send an email to go-logr-security@googlegroups.com +- send us a [private vulnerability report](https://github.com/go-logr/logr/security/advisories/new) + +Please provide the following information in your report: + +- A description of the vulnerability and its impact +- How to reproduce the issue + +We ask that you give us 90 days to work on a fix before public exposure. diff --git a/src/os-conf-acceptance-tests/vendor/github.com/go-logr/logr/funcr/funcr.go b/src/os-conf-acceptance-tests/vendor/github.com/go-logr/logr/funcr/funcr.go index e52f0cd..12e5807 100644 --- a/src/os-conf-acceptance-tests/vendor/github.com/go-logr/logr/funcr/funcr.go +++ b/src/os-conf-acceptance-tests/vendor/github.com/go-logr/logr/funcr/funcr.go @@ -116,17 +116,17 @@ type Options struct { // Equivalent hooks are offered for key-value pairs saved via // logr.Logger.WithValues or Formatter.AddValues (see RenderValuesHook) and // for user-provided pairs (see RenderArgsHook). - RenderBuiltinsHook func(kvList []interface{}) []interface{} + RenderBuiltinsHook func(kvList []any) []any // RenderValuesHook is the same as RenderBuiltinsHook, except that it is // only called for key-value pairs saved via logr.Logger.WithValues. See // RenderBuiltinsHook for more details. - RenderValuesHook func(kvList []interface{}) []interface{} + RenderValuesHook func(kvList []any) []any // RenderArgsHook is the same as RenderBuiltinsHook, except that it is only // called for key-value pairs passed directly to Info and Error. See // RenderBuiltinsHook for more details. - RenderArgsHook func(kvList []interface{}) []interface{} + RenderArgsHook func(kvList []any) []any // MaxLogDepth tells funcr how many levels of nested fields (e.g. a struct // that contains a struct, etc.) it may log. Every time it finds a struct, @@ -163,7 +163,7 @@ func (l fnlogger) WithName(name string) logr.LogSink { return &l } -func (l fnlogger) WithValues(kvList ...interface{}) logr.LogSink { +func (l fnlogger) WithValues(kvList ...any) logr.LogSink { l.Formatter.AddValues(kvList) return &l } @@ -173,12 +173,12 @@ func (l fnlogger) WithCallDepth(depth int) logr.LogSink { return &l } -func (l fnlogger) Info(level int, msg string, kvList ...interface{}) { +func (l fnlogger) Info(level int, msg string, kvList ...any) { prefix, args := l.FormatInfo(level, msg, kvList) l.write(prefix, args) } -func (l fnlogger) Error(err error, msg string, kvList ...interface{}) { +func (l fnlogger) Error(err error, msg string, kvList ...any) { prefix, args := l.FormatError(err, msg, kvList) l.write(prefix, args) } @@ -229,7 +229,7 @@ func newFormatter(opts Options, outfmt outputFormat) Formatter { type Formatter struct { outputFormat outputFormat prefix string - values []interface{} + values []any valuesStr string depth int opts *Options @@ -246,10 +246,10 @@ const ( ) // PseudoStruct is a list of key-value pairs that gets logged as a struct. -type PseudoStruct []interface{} +type PseudoStruct []any // render produces a log line, ready to use. -func (f Formatter) render(builtins, args []interface{}) string { +func (f Formatter) render(builtins, args []any) string { // Empirically bytes.Buffer is faster than strings.Builder for this. buf := bytes.NewBuffer(make([]byte, 0, 1024)) if f.outputFormat == outputJSON { @@ -292,7 +292,7 @@ func (f Formatter) render(builtins, args []interface{}) string { // This function returns a potentially modified version of kvList, which // ensures that there is a value for every key (adding a value if needed) and // that each key is a string (substituting a key if needed). -func (f Formatter) flatten(buf *bytes.Buffer, kvList []interface{}, continuing bool, escapeKeys bool) []interface{} { +func (f Formatter) flatten(buf *bytes.Buffer, kvList []any, continuing bool, escapeKeys bool) []any { // This logic overlaps with sanitize() but saves one type-cast per key, // which can be measurable. if len(kvList)%2 != 0 { @@ -334,7 +334,7 @@ func (f Formatter) flatten(buf *bytes.Buffer, kvList []interface{}, continuing b return kvList } -func (f Formatter) pretty(value interface{}) string { +func (f Formatter) pretty(value any) string { return f.prettyWithFlags(value, 0, 0) } @@ -343,7 +343,7 @@ const ( ) // TODO: This is not fast. Most of the overhead goes here. -func (f Formatter) prettyWithFlags(value interface{}, flags uint32, depth int) string { +func (f Formatter) prettyWithFlags(value any, flags uint32, depth int) string { if depth > f.opts.MaxLogDepth { return `""` } @@ -614,7 +614,7 @@ func isEmpty(v reflect.Value) bool { return false } -func invokeMarshaler(m logr.Marshaler) (ret interface{}) { +func invokeMarshaler(m logr.Marshaler) (ret any) { defer func() { if r := recover(); r != nil { ret = fmt.Sprintf("", r) @@ -675,12 +675,12 @@ func (f Formatter) caller() Caller { const noValue = "" -func (f Formatter) nonStringKey(v interface{}) string { +func (f Formatter) nonStringKey(v any) string { return fmt.Sprintf("", f.snippet(v)) } // snippet produces a short snippet string of an arbitrary value. -func (f Formatter) snippet(v interface{}) string { +func (f Formatter) snippet(v any) string { const snipLen = 16 snip := f.pretty(v) @@ -693,7 +693,7 @@ func (f Formatter) snippet(v interface{}) string { // sanitize ensures that a list of key-value pairs has a value for every key // (adding a value if needed) and that each key is a string (substituting a key // if needed). -func (f Formatter) sanitize(kvList []interface{}) []interface{} { +func (f Formatter) sanitize(kvList []any) []any { if len(kvList)%2 != 0 { kvList = append(kvList, noValue) } @@ -727,8 +727,8 @@ func (f Formatter) GetDepth() int { // FormatInfo renders an Info log message into strings. The prefix will be // empty when no names were set (via AddNames), or when the output is // configured for JSON. -func (f Formatter) FormatInfo(level int, msg string, kvList []interface{}) (prefix, argsStr string) { - args := make([]interface{}, 0, 64) // using a constant here impacts perf +func (f Formatter) FormatInfo(level int, msg string, kvList []any) (prefix, argsStr string) { + args := make([]any, 0, 64) // using a constant here impacts perf prefix = f.prefix if f.outputFormat == outputJSON { args = append(args, "logger", prefix) @@ -745,10 +745,10 @@ func (f Formatter) FormatInfo(level int, msg string, kvList []interface{}) (pref } // FormatError renders an Error log message into strings. The prefix will be -// empty when no names were set (via AddNames), or when the output is +// empty when no names were set (via AddNames), or when the output is // configured for JSON. -func (f Formatter) FormatError(err error, msg string, kvList []interface{}) (prefix, argsStr string) { - args := make([]interface{}, 0, 64) // using a constant here impacts perf +func (f Formatter) FormatError(err error, msg string, kvList []any) (prefix, argsStr string) { + args := make([]any, 0, 64) // using a constant here impacts perf prefix = f.prefix if f.outputFormat == outputJSON { args = append(args, "logger", prefix) @@ -761,12 +761,12 @@ func (f Formatter) FormatError(err error, msg string, kvList []interface{}) (pre args = append(args, "caller", f.caller()) } args = append(args, "msg", msg) - var loggableErr interface{} + var loggableErr any if err != nil { loggableErr = err.Error() } args = append(args, "error", loggableErr) - return f.prefix, f.render(args, kvList) + return prefix, f.render(args, kvList) } // AddName appends the specified name. funcr uses '/' characters to separate @@ -781,7 +781,7 @@ func (f *Formatter) AddName(name string) { // AddValues adds key-value pairs to the set of saved values to be logged with // each log line. -func (f *Formatter) AddValues(kvList []interface{}) { +func (f *Formatter) AddValues(kvList []any) { // Three slice args forces a copy. n := len(f.values) f.values = append(f.values[:n:n], kvList...) diff --git a/src/os-conf-acceptance-tests/vendor/github.com/go-logr/logr/logr.go b/src/os-conf-acceptance-tests/vendor/github.com/go-logr/logr/logr.go index e027aea..2a5075a 100644 --- a/src/os-conf-acceptance-tests/vendor/github.com/go-logr/logr/logr.go +++ b/src/os-conf-acceptance-tests/vendor/github.com/go-logr/logr/logr.go @@ -127,9 +127,9 @@ limitations under the License. // such a value can call its methods without having to check whether the // instance is ready for use. // -// Calling methods with the null logger (Logger{}) as instance will crash -// because it has no LogSink. Therefore this null logger should never be passed -// around. For cases where passing a logger is optional, a pointer to Logger +// The zero logger (= Logger{}) is identical to Discard() and discards all log +// entries. Code that receives a Logger by value can simply call it, the methods +// will never crash. For cases where passing a logger is optional, a pointer to Logger // should be used. // // # Key Naming Conventions @@ -258,6 +258,12 @@ type Logger struct { // Enabled tests whether this Logger is enabled. For example, commandline // flags might be used to set the logging verbosity and disable some info logs. func (l Logger) Enabled() bool { + // Some implementations of LogSink look at the caller in Enabled (e.g. + // different verbosity levels per package or file), but we only pass one + // CallDepth in (via Init). This means that all calls from Logger to the + // LogSink's Enabled, Info, and Error methods must have the same number of + // frames. In other words, Logger methods can't call other Logger methods + // which call these LogSink methods unless we do it the same in all paths. return l.sink != nil && l.sink.Enabled(l.level) } @@ -267,11 +273,11 @@ func (l Logger) Enabled() bool { // line. The key/value pairs can then be used to add additional variable // information. The key/value pairs must alternate string keys and arbitrary // values. -func (l Logger) Info(msg string, keysAndValues ...interface{}) { +func (l Logger) Info(msg string, keysAndValues ...any) { if l.sink == nil { return } - if l.Enabled() { + if l.sink.Enabled(l.level) { // see comment in Enabled if withHelper, ok := l.sink.(CallStackHelperLogSink); ok { withHelper.GetCallStackHelper()() } @@ -289,7 +295,7 @@ func (l Logger) Info(msg string, keysAndValues ...interface{}) { // while the err argument should be used to attach the actual error that // triggered this log line, if present. The err parameter is optional // and nil may be passed instead of an error instance. -func (l Logger) Error(err error, msg string, keysAndValues ...interface{}) { +func (l Logger) Error(err error, msg string, keysAndValues ...any) { if l.sink == nil { return } @@ -314,9 +320,16 @@ func (l Logger) V(level int) Logger { return l } +// GetV returns the verbosity level of the logger. If the logger's LogSink is +// nil as in the Discard logger, this will always return 0. +func (l Logger) GetV() int { + // 0 if l.sink nil because of the if check in V above. + return l.level +} + // WithValues returns a new Logger instance with additional key/value pairs. // See Info for documentation on how key/value pairs work. -func (l Logger) WithValues(keysAndValues ...interface{}) Logger { +func (l Logger) WithValues(keysAndValues ...any) Logger { if l.sink == nil { return l } @@ -467,15 +480,15 @@ type LogSink interface { // The level argument is provided for optional logging. This method will // only be called when Enabled(level) is true. See Logger.Info for more // details. - Info(level int, msg string, keysAndValues ...interface{}) + Info(level int, msg string, keysAndValues ...any) // Error logs an error, with the given message and key/value pairs as // context. See Logger.Error for more details. - Error(err error, msg string, keysAndValues ...interface{}) + Error(err error, msg string, keysAndValues ...any) // WithValues returns a new LogSink with additional key/value pairs. See // Logger.WithValues for more details. - WithValues(keysAndValues ...interface{}) LogSink + WithValues(keysAndValues ...any) LogSink // WithName returns a new LogSink with the specified name appended. See // Logger.WithName for more details. @@ -546,5 +559,5 @@ type Marshaler interface { // with exported fields // // It may return any value of any type. - MarshalLog() interface{} + MarshalLog() any } diff --git a/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/compare.go b/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/compare.go index 087320d..0f5b8a4 100644 --- a/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/compare.go +++ b/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/compare.go @@ -5,7 +5,7 @@ // Package cmp determines equality of values. // // This package is intended to be a more powerful and safer alternative to -// reflect.DeepEqual for comparing whether two values are semantically equal. +// [reflect.DeepEqual] for comparing whether two values are semantically equal. // It is intended to only be used in tests, as performance is not a goal and // it may panic if it cannot compare the values. Its propensity towards // panicking means that its unsuitable for production environments where a @@ -18,16 +18,17 @@ // For example, an equality function may report floats as equal so long as // they are within some tolerance of each other. // -// - Types with an Equal method may use that method to determine equality. -// This allows package authors to determine the equality operation -// for the types that they define. +// - Types with an Equal method (e.g., [time.Time.Equal]) may use that method +// to determine equality. This allows package authors to determine +// the equality operation for the types that they define. // // - If no custom equality functions are used and no Equal method is defined, // equality is determined by recursively comparing the primitive kinds on -// both values, much like reflect.DeepEqual. Unlike reflect.DeepEqual, +// both values, much like [reflect.DeepEqual]. Unlike [reflect.DeepEqual], // unexported fields are not compared by default; they result in panics -// unless suppressed by using an Ignore option (see cmpopts.IgnoreUnexported) -// or explicitly compared using the Exporter option. +// unless suppressed by using an [Ignore] option +// (see [github.com/google/go-cmp/cmp/cmpopts.IgnoreUnexported]) +// or explicitly compared using the [Exporter] option. package cmp import ( @@ -45,14 +46,14 @@ import ( // Equal reports whether x and y are equal by recursively applying the // following rules in the given order to x and y and all of their sub-values: // -// - Let S be the set of all Ignore, Transformer, and Comparer options that +// - Let S be the set of all [Ignore], [Transformer], and [Comparer] options that // remain after applying all path filters, value filters, and type filters. -// If at least one Ignore exists in S, then the comparison is ignored. -// If the number of Transformer and Comparer options in S is non-zero, +// If at least one [Ignore] exists in S, then the comparison is ignored. +// If the number of [Transformer] and [Comparer] options in S is non-zero, // then Equal panics because it is ambiguous which option to use. -// If S contains a single Transformer, then use that to transform +// If S contains a single [Transformer], then use that to transform // the current values and recursively call Equal on the output values. -// If S contains a single Comparer, then use that to compare the current values. +// If S contains a single [Comparer], then use that to compare the current values. // Otherwise, evaluation proceeds to the next rule. // // - If the values have an Equal method of the form "(T) Equal(T) bool" or @@ -66,21 +67,22 @@ import ( // Functions are only equal if they are both nil, otherwise they are unequal. // // Structs are equal if recursively calling Equal on all fields report equal. -// If a struct contains unexported fields, Equal panics unless an Ignore option -// (e.g., cmpopts.IgnoreUnexported) ignores that field or the Exporter option -// explicitly permits comparing the unexported field. +// If a struct contains unexported fields, Equal panics unless an [Ignore] option +// (e.g., [github.com/google/go-cmp/cmp/cmpopts.IgnoreUnexported]) ignores that field +// or the [Exporter] option explicitly permits comparing the unexported field. // // Slices are equal if they are both nil or both non-nil, where recursively // calling Equal on all non-ignored slice or array elements report equal. // Empty non-nil slices and nil slices are not equal; to equate empty slices, -// consider using cmpopts.EquateEmpty. +// consider using [github.com/google/go-cmp/cmp/cmpopts.EquateEmpty]. // // Maps are equal if they are both nil or both non-nil, where recursively // calling Equal on all non-ignored map entries report equal. // Map keys are equal according to the == operator. -// To use custom comparisons for map keys, consider using cmpopts.SortMaps. +// To use custom comparisons for map keys, consider using +// [github.com/google/go-cmp/cmp/cmpopts.SortMaps]. // Empty non-nil maps and nil maps are not equal; to equate empty maps, -// consider using cmpopts.EquateEmpty. +// consider using [github.com/google/go-cmp/cmp/cmpopts.EquateEmpty]. // // Pointers and interfaces are equal if they are both nil or both non-nil, // where they have the same underlying concrete type and recursively diff --git a/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/export_unsafe.go b/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/export.go similarity index 94% rename from src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/export_unsafe.go rename to src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/export.go index e2c0f74..29f82fe 100644 --- a/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/export_unsafe.go +++ b/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/export.go @@ -2,9 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build !purego -// +build !purego - package cmp import ( @@ -12,8 +9,6 @@ import ( "unsafe" ) -const supportExporters = true - // retrieveUnexportedField uses unsafe to forcibly retrieve any field from // a struct such that the value has read-write permissions. // diff --git a/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/export_panic.go b/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/export_panic.go deleted file mode 100644 index ae851fe..0000000 --- a/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/export_panic.go +++ /dev/null @@ -1,16 +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. - -//go:build purego -// +build purego - -package cmp - -import "reflect" - -const supportExporters = false - -func retrieveUnexportedField(reflect.Value, reflect.StructField, bool) reflect.Value { - panic("no support for forcibly accessing unexported fields") -} diff --git a/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/internal/value/pointer_unsafe.go b/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/internal/value/pointer.go similarity index 95% rename from src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/internal/value/pointer_unsafe.go rename to src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/internal/value/pointer.go index 16e6860..e5dfff6 100644 --- a/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/internal/value/pointer_unsafe.go +++ b/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/internal/value/pointer.go @@ -2,9 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build !purego -// +build !purego - package value import ( diff --git a/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/internal/value/pointer_purego.go b/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/internal/value/pointer_purego.go deleted file mode 100644 index 1a71bfc..0000000 --- a/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/internal/value/pointer_purego.go +++ /dev/null @@ -1,34 +0,0 @@ -// 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. - -//go:build purego -// +build purego - -package value - -import "reflect" - -// Pointer is an opaque typed pointer and is guaranteed to be comparable. -type Pointer struct { - p uintptr - t reflect.Type -} - -// PointerOf returns a Pointer from v, which must be a -// reflect.Ptr, reflect.Slice, or reflect.Map. -func PointerOf(v reflect.Value) Pointer { - // NOTE: Storing a pointer as an uintptr is technically incorrect as it - // assumes that the GC implementation does not use a moving collector. - return Pointer{v.Pointer(), v.Type()} -} - -// IsNil reports whether the pointer is nil. -func (p Pointer) IsNil() bool { - return p.p == 0 -} - -// Uintptr returns the pointer as a uintptr. -func (p Pointer) Uintptr() uintptr { - return p.p -} diff --git a/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/options.go b/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/options.go index 1f9ca9c..754496f 100644 --- a/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/options.go +++ b/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/options.go @@ -13,15 +13,15 @@ import ( "github.com/google/go-cmp/cmp/internal/function" ) -// Option configures for specific behavior of Equal and Diff. In particular, -// the fundamental Option functions (Ignore, Transformer, and Comparer), +// Option configures for specific behavior of [Equal] and [Diff]. In particular, +// the fundamental Option functions ([Ignore], [Transformer], and [Comparer]), // configure how equality is determined. // -// The fundamental options may be composed with filters (FilterPath and -// FilterValues) to control the scope over which they are applied. +// The fundamental options may be composed with filters ([FilterPath] and +// [FilterValues]) to control the scope over which they are applied. // -// The cmp/cmpopts package provides helper functions for creating options that -// may be used with Equal and Diff. +// The [github.com/google/go-cmp/cmp/cmpopts] package provides helper functions +// for creating options that may be used with [Equal] and [Diff]. type Option interface { // filter applies all filters and returns the option that remains. // Each option may only read s.curPath and call s.callTTBFunc. @@ -56,9 +56,9 @@ type core struct{} func (core) isCore() {} -// Options is a list of Option values that also satisfies the Option interface. +// Options is a list of [Option] values that also satisfies the [Option] interface. // Helper comparison packages may return an Options value when packing multiple -// Option values into a single Option. When this package processes an Options, +// [Option] values into a single [Option]. When this package processes an Options, // it will be implicitly expanded into a flat list. // // Applying a filter on an Options is equivalent to applying that same filter @@ -105,16 +105,16 @@ func (opts Options) String() string { return fmt.Sprintf("Options{%s}", strings.Join(ss, ", ")) } -// FilterPath returns a new Option where opt is only evaluated if filter f -// returns true for the current Path in the value tree. +// FilterPath returns a new [Option] where opt is only evaluated if filter f +// returns true for the current [Path] in the value tree. // // This filter is called even if a slice element or map entry is missing and // provides an opportunity to ignore such cases. The filter function must be // symmetric such that the filter result is identical regardless of whether the // missing value is from x or y. // -// The option passed in may be an Ignore, Transformer, Comparer, Options, or -// a previously filtered Option. +// The option passed in may be an [Ignore], [Transformer], [Comparer], [Options], or +// a previously filtered [Option]. func FilterPath(f func(Path) bool, opt Option) Option { if f == nil { panic("invalid path filter function") @@ -142,7 +142,7 @@ func (f pathFilter) String() string { return fmt.Sprintf("FilterPath(%s, %v)", function.NameOf(reflect.ValueOf(f.fnc)), f.opt) } -// FilterValues returns a new Option where opt is only evaluated if filter f, +// FilterValues returns a new [Option] where opt is only evaluated if filter f, // which is a function of the form "func(T, T) bool", returns true for the // current pair of values being compared. If either value is invalid or // the type of the values is not assignable to T, then this filter implicitly @@ -154,8 +154,8 @@ func (f pathFilter) String() string { // If T is an interface, it is possible that f is called with two values with // different concrete types that both implement T. // -// The option passed in may be an Ignore, Transformer, Comparer, Options, or -// a previously filtered Option. +// The option passed in may be an [Ignore], [Transformer], [Comparer], [Options], or +// a previously filtered [Option]. func FilterValues(f interface{}, opt Option) Option { v := reflect.ValueOf(f) if !function.IsType(v.Type(), function.ValueFilter) || v.IsNil() { @@ -192,9 +192,9 @@ func (f valuesFilter) String() string { return fmt.Sprintf("FilterValues(%s, %v)", function.NameOf(f.fnc), f.opt) } -// Ignore is an Option that causes all comparisons to be ignored. -// This value is intended to be combined with FilterPath or FilterValues. -// It is an error to pass an unfiltered Ignore option to Equal. +// Ignore is an [Option] that causes all comparisons to be ignored. +// This value is intended to be combined with [FilterPath] or [FilterValues]. +// It is an error to pass an unfiltered Ignore option to [Equal]. func Ignore() Option { return ignore{} } type ignore struct{ core } @@ -234,6 +234,8 @@ func (validator) apply(s *state, vx, vy reflect.Value) { name = fmt.Sprintf("%q.%v", t.PkgPath(), t.Name()) // e.g., "path/to/package".MyType if _, ok := reflect.New(t).Interface().(error); ok { help = "consider using cmpopts.EquateErrors to compare error values" + } else if t.Comparable() { + help = "consider using cmpopts.EquateComparable to compare comparable Go types" } } else { // Unnamed type with unexported fields. Derive PkgPath from field. @@ -254,7 +256,7 @@ const identRx = `[_\p{L}][_\p{L}\p{N}]*` var identsRx = regexp.MustCompile(`^` + identRx + `(\.` + identRx + `)*$`) -// Transformer returns an Option that applies a transformation function that +// Transformer returns an [Option] that applies a transformation function that // converts values of a certain type into that of another. // // The transformer f must be a function "func(T) R" that converts values of @@ -265,13 +267,14 @@ var identsRx = regexp.MustCompile(`^` + identRx + `(\.` + identRx + `)*$`) // same transform to the output of itself (e.g., in the case where the // input and output types are the same), an implicit filter is added such that // a transformer is applicable only if that exact transformer is not already -// in the tail of the Path since the last non-Transform step. +// in the tail of the [Path] since the last non-[Transform] step. // For situations where the implicit filter is still insufficient, -// consider using cmpopts.AcyclicTransformer, which adds a filter -// to prevent the transformer from being recursively applied upon itself. +// consider using [github.com/google/go-cmp/cmp/cmpopts.AcyclicTransformer], +// which adds a filter to prevent the transformer from +// being recursively applied upon itself. // -// The name is a user provided label that is used as the Transform.Name in the -// transformation PathStep (and eventually shown in the Diff output). +// The name is a user provided label that is used as the [Transform.Name] in the +// transformation [PathStep] (and eventually shown in the [Diff] output). // The name must be a valid identifier or qualified identifier in Go syntax. // If empty, an arbitrary name is used. func Transformer(name string, f interface{}) Option { @@ -329,7 +332,7 @@ func (tr transformer) String() string { return fmt.Sprintf("Transformer(%s, %s)", tr.name, function.NameOf(tr.fnc)) } -// Comparer returns an Option that determines whether two values are equal +// Comparer returns an [Option] that determines whether two values are equal // to each other. // // The comparer f must be a function "func(T, T) bool" and is implicitly @@ -377,35 +380,32 @@ func (cm comparer) String() string { return fmt.Sprintf("Comparer(%s)", function.NameOf(cm.fnc)) } -// Exporter returns an Option that specifies whether Equal is allowed to +// Exporter returns an [Option] that specifies whether [Equal] is allowed to // introspect into the unexported fields of certain struct types. // // Users of this option must understand that comparing on unexported fields // from external packages is not safe since changes in the internal -// implementation of some external package may cause the result of Equal +// implementation of some external package may cause the result of [Equal] // to unexpectedly change. However, it may be valid to use this option on types // defined in an internal package where the semantic meaning of an unexported // field is in the control of the user. // -// In many cases, a custom Comparer should be used instead that defines +// In many cases, a custom [Comparer] should be used instead that defines // equality as a function of the public API of a type rather than the underlying // unexported implementation. // -// For example, the reflect.Type documentation defines equality to be determined +// For example, the [reflect.Type] documentation defines equality to be determined // by the == operator on the interface (essentially performing a shallow pointer -// comparison) and most attempts to compare *regexp.Regexp types are interested +// comparison) and most attempts to compare *[regexp.Regexp] types are interested // in only checking that the regular expression strings are equal. -// Both of these are accomplished using Comparers: +// Both of these are accomplished using [Comparer] options: // // Comparer(func(x, y reflect.Type) bool { return x == y }) // Comparer(func(x, y *regexp.Regexp) bool { return x.String() == y.String() }) // -// In other cases, the cmpopts.IgnoreUnexported option can be used to ignore -// all unexported fields on specified struct types. +// In other cases, the [github.com/google/go-cmp/cmp/cmpopts.IgnoreUnexported] +// option can be used to ignore all unexported fields on specified struct types. func Exporter(f func(reflect.Type) bool) Option { - if !supportExporters { - panic("Exporter is not supported on purego builds") - } return exporter(f) } @@ -415,10 +415,10 @@ func (exporter) filter(_ *state, _ reflect.Type, _, _ reflect.Value) applicableO panic("not implemented") } -// AllowUnexported returns an Options that allows Equal to forcibly introspect +// AllowUnexported returns an [Option] that allows [Equal] to forcibly introspect // unexported fields of the specified struct types. // -// See Exporter for the proper use of this option. +// See [Exporter] for the proper use of this option. func AllowUnexported(types ...interface{}) Option { m := make(map[reflect.Type]bool) for _, typ := range types { @@ -432,7 +432,7 @@ func AllowUnexported(types ...interface{}) Option { } // Result represents the comparison result for a single node and -// is provided by cmp when calling Report (see Reporter). +// is provided by cmp when calling Report (see [Reporter]). type Result struct { _ [0]func() // Make Result incomparable flags resultFlags @@ -445,7 +445,7 @@ func (r Result) Equal() bool { } // ByIgnore reports whether the node is equal because it was ignored. -// This never reports true if Equal reports false. +// This never reports true if [Result.Equal] reports false. func (r Result) ByIgnore() bool { return r.flags&reportByIgnore != 0 } @@ -455,7 +455,7 @@ func (r Result) ByMethod() bool { return r.flags&reportByMethod != 0 } -// ByFunc reports whether a Comparer function determined equality. +// ByFunc reports whether a [Comparer] function determined equality. func (r Result) ByFunc() bool { return r.flags&reportByFunc != 0 } @@ -478,7 +478,7 @@ const ( reportByCycle ) -// Reporter is an Option that can be passed to Equal. When Equal traverses +// Reporter is an [Option] that can be passed to [Equal]. When [Equal] traverses // the value trees, it calls PushStep as it descends into each node in the // tree and PopStep as it ascend out of the node. The leaves of the tree are // either compared (determined to be equal or not equal) or ignored and reported diff --git a/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/path.go b/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/path.go index a0a5885..c3c1456 100644 --- a/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/path.go +++ b/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/path.go @@ -14,9 +14,9 @@ import ( "github.com/google/go-cmp/cmp/internal/value" ) -// Path is a list of PathSteps describing the sequence of operations to get +// Path is a list of [PathStep] describing the sequence of operations to get // from some root type to the current position in the value tree. -// The first Path element is always an operation-less PathStep that exists +// The first Path element is always an operation-less [PathStep] that exists // simply to identify the initial type. // // When traversing structs with embedded structs, the embedded struct will @@ -29,8 +29,13 @@ type Path []PathStep // a value's tree structure. Users of this package never need to implement // these types as values of this type will be returned by this package. // -// Implementations of this interface are -// StructField, SliceIndex, MapIndex, Indirect, TypeAssertion, and Transform. +// Implementations of this interface: +// - [StructField] +// - [SliceIndex] +// - [MapIndex] +// - [Indirect] +// - [TypeAssertion] +// - [Transform] type PathStep interface { String() string @@ -70,8 +75,9 @@ func (pa *Path) pop() { *pa = (*pa)[:len(*pa)-1] } -// Last returns the last PathStep in the Path. -// If the path is empty, this returns a non-nil PathStep that reports a nil Type. +// Last returns the last [PathStep] in the Path. +// If the path is empty, this returns a non-nil [PathStep] +// that reports a nil [PathStep.Type]. func (pa Path) Last() PathStep { return pa.Index(-1) } @@ -79,7 +85,8 @@ func (pa Path) Last() PathStep { // Index returns the ith step in the Path and supports negative indexing. // A negative index starts counting from the tail of the Path such that -1 // refers to the last step, -2 refers to the second-to-last step, and so on. -// If index is invalid, this returns a non-nil PathStep that reports a nil Type. +// If index is invalid, this returns a non-nil [PathStep] +// that reports a nil [PathStep.Type]. func (pa Path) Index(i int) PathStep { if i < 0 { i = len(pa) + i @@ -168,7 +175,8 @@ func (ps pathStep) String() string { return fmt.Sprintf("{%s}", s) } -// StructField represents a struct field access on a field called Name. +// StructField is a [PathStep] that represents a struct field access +// on a field called [StructField.Name]. type StructField struct{ *structField } type structField struct { pathStep @@ -204,10 +212,11 @@ func (sf StructField) String() string { return fmt.Sprintf(".%s", sf.name) } func (sf StructField) Name() string { return sf.name } // Index is the index of the field in the parent struct type. -// See reflect.Type.Field. +// See [reflect.Type.Field]. func (sf StructField) Index() int { return sf.idx } -// SliceIndex is an index operation on a slice or array at some index Key. +// SliceIndex is a [PathStep] that represents an index operation on +// a slice or array at some index [SliceIndex.Key]. type SliceIndex struct{ *sliceIndex } type sliceIndex struct { pathStep @@ -247,12 +256,12 @@ func (si SliceIndex) Key() int { // all of the indexes to be shifted. If an index is -1, then that // indicates that the element does not exist in the associated slice. // -// Key is guaranteed to return -1 if and only if the indexes returned -// by SplitKeys are not the same. SplitKeys will never return -1 for +// [SliceIndex.Key] is guaranteed to return -1 if and only if the indexes +// returned by SplitKeys are not the same. SplitKeys will never return -1 for // both indexes. func (si SliceIndex) SplitKeys() (ix, iy int) { return si.xkey, si.ykey } -// MapIndex is an index operation on a map at some index Key. +// MapIndex is a [PathStep] that represents an index operation on a map at some index Key. type MapIndex struct{ *mapIndex } type mapIndex struct { pathStep @@ -266,7 +275,7 @@ func (mi MapIndex) String() string { return fmt.Sprintf("[%#v]", // Key is the value of the map key. func (mi MapIndex) Key() reflect.Value { return mi.key } -// Indirect represents pointer indirection on the parent type. +// Indirect is a [PathStep] that represents pointer indirection on the parent type. type Indirect struct{ *indirect } type indirect struct { pathStep @@ -276,7 +285,7 @@ func (in Indirect) Type() reflect.Type { return in.typ } func (in Indirect) Values() (vx, vy reflect.Value) { return in.vx, in.vy } func (in Indirect) String() string { return "*" } -// TypeAssertion represents a type assertion on an interface. +// TypeAssertion is a [PathStep] that represents a type assertion on an interface. type TypeAssertion struct{ *typeAssertion } type typeAssertion struct { pathStep @@ -286,7 +295,8 @@ func (ta TypeAssertion) Type() reflect.Type { return ta.typ } func (ta TypeAssertion) Values() (vx, vy reflect.Value) { return ta.vx, ta.vy } func (ta TypeAssertion) String() string { return fmt.Sprintf(".(%v)", value.TypeString(ta.typ, false)) } -// Transform is a transformation from the parent type to the current type. +// Transform is a [PathStep] that represents a transformation +// from the parent type to the current type. type Transform struct{ *transform } type transform struct { pathStep @@ -297,13 +307,13 @@ func (tf Transform) Type() reflect.Type { return tf.typ } func (tf Transform) Values() (vx, vy reflect.Value) { return tf.vx, tf.vy } func (tf Transform) String() string { return fmt.Sprintf("%s()", tf.trans.name) } -// Name is the name of the Transformer. +// Name is the name of the [Transformer]. func (tf Transform) Name() string { return tf.trans.name } // Func is the function pointer to the transformer function. func (tf Transform) Func() reflect.Value { return tf.trans.fnc } -// Option returns the originally constructed Transformer option. +// Option returns the originally constructed [Transformer] option. // The == operator can be used to detect the exact option used. func (tf Transform) Option() Option { return tf.trans } diff --git a/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/report_reflect.go b/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/report_reflect.go index 2ab41fa..e39f422 100644 --- a/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/report_reflect.go +++ b/src/os-conf-acceptance-tests/vendor/github.com/google/go-cmp/cmp/report_reflect.go @@ -199,7 +199,7 @@ func (opts formatOptions) FormatValue(v reflect.Value, parentKind reflect.Kind, break } sf := t.Field(i) - if supportExporters && !isExported(sf.Name) { + if !isExported(sf.Name) { vv = retrieveUnexportedField(v, sf, true) } s := opts.WithTypeMode(autoType).FormatValue(vv, t.Kind(), ptrs) diff --git a/src/os-conf-acceptance-tests/vendor/github.com/onsi/ginkgo/v2/CHANGELOG.md b/src/os-conf-acceptance-tests/vendor/github.com/onsi/ginkgo/v2/CHANGELOG.md index fea6752..102bb52 100644 --- a/src/os-conf-acceptance-tests/vendor/github.com/onsi/ginkgo/v2/CHANGELOG.md +++ b/src/os-conf-acceptance-tests/vendor/github.com/onsi/ginkgo/v2/CHANGELOG.md @@ -1,3 +1,15 @@ +## 2.13.1 + +### Fixes +- # 1296 fix(precompiled test guite): exec bit check omitted on Windows (#1301) [26eea01] + +### Maintenance +- Bump github.com/go-logr/logr from 1.2.4 to 1.3.0 (#1291) [7161a9d] +- Bump golang.org/x/sys from 0.13.0 to 0.14.0 (#1295) [7fc7b10] +- Bump golang.org/x/tools from 0.12.0 to 0.14.0 (#1282) [74bbd65] +- Bump github.com/onsi/gomega from 1.27.10 to 1.29.0 (#1290) [9373633] +- Bump golang.org/x/net in /integration/_fixtures/version_mismatch_fixture (#1286) [6e3cf65] + ## 2.13.0 ### Features diff --git a/src/os-conf-acceptance-tests/vendor/github.com/onsi/ginkgo/v2/ginkgo/internal/test_suite.go b/src/os-conf-acceptance-tests/vendor/github.com/onsi/ginkgo/v2/ginkgo/internal/test_suite.go index 64dcb1b..f3ae13b 100644 --- a/src/os-conf-acceptance-tests/vendor/github.com/onsi/ginkgo/v2/ginkgo/internal/test_suite.go +++ b/src/os-conf-acceptance-tests/vendor/github.com/onsi/ginkgo/v2/ginkgo/internal/test_suite.go @@ -7,6 +7,7 @@ import ( "path" "path/filepath" "regexp" + "runtime" "strings" "github.com/onsi/ginkgo/v2/types" @@ -192,7 +193,7 @@ func precompiledTestSuite(path string) (TestSuite, error) { return TestSuite{}, errors.New("this is not a .test binary") } - if filepath.Ext(path) == ".test" && info.Mode()&0111 == 0 { + if filepath.Ext(path) == ".test" && runtime.GOOS != "windows" && info.Mode()&0111 == 0 { return TestSuite{}, errors.New("this is not executable") } diff --git a/src/os-conf-acceptance-tests/vendor/github.com/onsi/ginkgo/v2/types/version.go b/src/os-conf-acceptance-tests/vendor/github.com/onsi/ginkgo/v2/types/version.go index a37f308..7a794d8 100644 --- a/src/os-conf-acceptance-tests/vendor/github.com/onsi/ginkgo/v2/types/version.go +++ b/src/os-conf-acceptance-tests/vendor/github.com/onsi/ginkgo/v2/types/version.go @@ -1,3 +1,3 @@ package types -const VERSION = "2.13.0" +const VERSION = "2.13.1" diff --git a/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/CHANGELOG.md b/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/CHANGELOG.md index 1526497..4fc45f2 100644 --- a/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/CHANGELOG.md +++ b/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/CHANGELOG.md @@ -1,3 +1,32 @@ +## 1.29.0 + +### Features +- MatchError can now take an optional func(error) bool + description [2b39142] + +## 1.28.1 + +### Maintenance +- Bump github.com/onsi/ginkgo/v2 from 2.12.0 to 2.13.0 [635d196] +- Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 [14f8859] +- Bump golang.org/x/net from 0.14.0 to 0.17.0 [d8a6508] +- #703 doc(matchers): HaveEach() doc comment updated [2705bdb] +- Minor typos (#699) [375648c] + +## 1.28.0 + +### Features +- Add VerifyHost handler to ghttp (#698) [0b03b36] + +### Fixes +- Read Body for Newer Responses in HaveHTTPBodyMatcher (#686) [18d6673] + +### Maintenance +- Bump github.com/onsi/ginkgo/v2 from 2.11.0 to 2.12.0 (#693) [55a33f3] +- Typo in matchers.go (#691) [de68e8f] +- Bump commonmarker from 0.23.9 to 0.23.10 in /docs (#690) [ab17f5e] +- chore: update test matrix for Go 1.21 (#689) [5069017] +- Bump golang.org/x/net from 0.12.0 to 0.14.0 (#688) [babe25f] + ## 1.27.10 ### Fixes diff --git a/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/gomega_dsl.go b/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/gomega_dsl.go index 1fd1803..ba08214 100644 --- a/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/gomega_dsl.go +++ b/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/gomega_dsl.go @@ -22,7 +22,7 @@ import ( "github.com/onsi/gomega/types" ) -const GOMEGA_VERSION = "1.27.10" +const GOMEGA_VERSION = "1.29.0" const nilGomegaPanic = `You are trying to make an assertion, but haven't registered Gomega's fail handler. If you're using Ginkgo then you probably forgot to put your assertion in an It(). @@ -242,7 +242,7 @@ func ExpectWithOffset(offset int, actual interface{}, extra ...interface{}) Asse Eventually enables making assertions on asynchronous behavior. Eventually checks that an assertion *eventually* passes. Eventually blocks when called and attempts an assertion periodically until it passes or a timeout occurs. Both the timeout and polling interval are configurable as optional arguments. -The first optional argument is the timeout (which defaults to 1s), the second is the polling interval (which defaults to 10ms). Both intervals can be specified as time.Duration, parsable duration strings or floats/integers (in which case they are interpreted as seconds). In addition an optional context.Context can be passed in - Eventually will keep trying until either the timeout epxires or the context is cancelled, whichever comes first. +The first optional argument is the timeout (which defaults to 1s), the second is the polling interval (which defaults to 10ms). Both intervals can be specified as time.Duration, parsable duration strings or floats/integers (in which case they are interpreted as seconds). In addition an optional context.Context can be passed in - Eventually will keep trying until either the timeout expires or the context is cancelled, whichever comes first. Eventually works with any Gomega compatible matcher and supports making assertions against three categories of actual value: @@ -313,13 +313,13 @@ It is important to note that the function passed into Eventually is invoked *syn }).Should(BeNumerically(">=", 17)) }, SpecTimeout(time.Second)) -you an also use Eventually().WithContext(ctx) to pass in the context. Passed-in contexts play nicely with paseed-in arguments as long as the context appears first. You can rewrite the above example as: +you an also use Eventually().WithContext(ctx) to pass in the context. Passed-in contexts play nicely with passed-in arguments as long as the context appears first. You can rewrite the above example as: It("fetches the correct count", func(ctx SpecContext) { Eventually(client.FetchCount).WithContext(ctx).WithArguments("/users").Should(BeNumerically(">=", 17)) }, SpecTimeout(time.Second)) -Either way the context passd to Eventually is also passed to the underlying funciton. Now, when Ginkgo cancels the context both the FetchCount client and Gomega will be informed and can exit. +Either way the context passd to Eventually is also passed to the underlying function. Now, when Ginkgo cancels the context both the FetchCount client and Gomega will be informed and can exit. **Category 3: Making assertions _in_ the function passed into Eventually** @@ -349,7 +349,7 @@ For example: will rerun the function until all assertions pass. -You can also pass additional arugments to functions that take a Gomega. The only rule is that the Gomega argument must be first. If you also want to pass the context attached to Eventually you must ensure that is the second argument. For example: +You can also pass additional arguments to functions that take a Gomega. The only rule is that the Gomega argument must be first. If you also want to pass the context attached to Eventually you must ensure that is the second argument. For example: Eventually(func(g Gomega, ctx context.Context, path string, expected ...string){ tok, err := client.GetToken(ctx) diff --git a/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/matchers.go b/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/matchers.go index bdaf62b..cd3f431 100644 --- a/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/matchers.go +++ b/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/matchers.go @@ -88,19 +88,44 @@ func Succeed() types.GomegaMatcher { } // MatchError succeeds if actual is a non-nil error that matches the passed in -// string, error, or matcher. +// string, error, function, or matcher. // // These are valid use-cases: // -// Expect(err).Should(MatchError("an error")) //asserts that err.Error() == "an error" -// Expect(err).Should(MatchError(SomeError)) //asserts that err == SomeError (via reflect.DeepEqual) -// Expect(err).Should(MatchError(ContainSubstring("sprocket not found"))) // asserts that edrr.Error() contains substring "sprocket not found" +// When passed a string: +// +// Expect(err).To(MatchError("an error")) +// +// asserts that err.Error() == "an error" +// +// When passed an error: +// +// Expect(err).To(MatchError(SomeError)) +// +// First checks if errors.Is(err, SomeError). +// If that fails then it checks if reflect.DeepEqual(err, SomeError) repeatedly for err and any errors wrapped by err +// +// When passed a matcher: +// +// Expect(err).To(MatchError(ContainSubstring("sprocket not found"))) +// +// the matcher is passed err.Error(). In this case it asserts that err.Error() contains substring "sprocket not found" +// +// When passed a func(err) bool and a description: +// +// Expect(err).To(MatchError(os.IsNotExist, "IsNotExist")) +// +// the function is passed err and matches if the return value is true. The description is required to allow Gomega +// to print a useful error message. // // It is an error for err to be nil or an object that does not implement the // Error interface -func MatchError(expected interface{}) types.GomegaMatcher { +// +// The optional second argument is a description of the error function, if used. This is required when passing a function but is ignored in all other cases. +func MatchError(expected interface{}, functionErrorDescription ...any) types.GomegaMatcher { return &matchers.MatchErrorMatcher{ - Expected: expected, + Expected: expected, + FuncErrDescription: functionErrorDescription, } } @@ -381,7 +406,7 @@ func ContainElements(elements ...interface{}) types.GomegaMatcher { } // HaveEach succeeds if actual solely contains elements that match the passed in element. -// Please note that if actual is empty, HaveEach always will succeed. +// Please note that if actual is empty, HaveEach always will fail. // By default HaveEach() uses Equal() to perform the match, however a // matcher can be passed in instead: // diff --git a/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/matchers/have_http_body_matcher.go b/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/matchers/have_http_body_matcher.go index 6a3dcdc..d14d9e5 100644 --- a/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/matchers/have_http_body_matcher.go +++ b/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/matchers/have_http_body_matcher.go @@ -11,8 +11,9 @@ import ( ) type HaveHTTPBodyMatcher struct { - Expected interface{} - cachedBody []byte + Expected interface{} + cachedResponse interface{} + cachedBody []byte } func (matcher *HaveHTTPBodyMatcher) Match(actual interface{}) (bool, error) { @@ -73,7 +74,7 @@ func (matcher *HaveHTTPBodyMatcher) NegatedFailureMessage(actual interface{}) (m // the Reader is closed and it is not readable again in FailureMessage() // or NegatedFailureMessage() func (matcher *HaveHTTPBodyMatcher) body(actual interface{}) ([]byte, error) { - if matcher.cachedBody != nil { + if matcher.cachedResponse == actual && matcher.cachedBody != nil { return matcher.cachedBody, nil } @@ -91,8 +92,10 @@ func (matcher *HaveHTTPBodyMatcher) body(actual interface{}) ([]byte, error) { switch a := actual.(type) { case *http.Response: + matcher.cachedResponse = a return body(a) case *httptest.ResponseRecorder: + matcher.cachedResponse = a return body(a.Result()) default: return nil, fmt.Errorf("HaveHTTPBody matcher expects *http.Response or *httptest.ResponseRecorder. Got:\n%s", format.Object(actual, 1)) diff --git a/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/matchers/match_error_matcher.go b/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/matchers/match_error_matcher.go index 827475e..c539dd3 100644 --- a/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/matchers/match_error_matcher.go +++ b/src/os-conf-acceptance-tests/vendor/github.com/onsi/gomega/matchers/match_error_matcher.go @@ -9,10 +9,14 @@ import ( ) type MatchErrorMatcher struct { - Expected interface{} + Expected any + FuncErrDescription []any + isFunc bool } -func (matcher *MatchErrorMatcher) Match(actual interface{}) (success bool, err error) { +func (matcher *MatchErrorMatcher) Match(actual any) (success bool, err error) { + matcher.isFunc = false + if isNil(actual) { return false, fmt.Errorf("Expected an error, got nil") } @@ -42,6 +46,17 @@ func (matcher *MatchErrorMatcher) Match(actual interface{}) (success bool, err e return actualErr.Error() == expected, nil } + v := reflect.ValueOf(expected) + t := v.Type() + errorInterface := reflect.TypeOf((*error)(nil)).Elem() + if t.Kind() == reflect.Func && t.NumIn() == 1 && t.In(0).Implements(errorInterface) && t.NumOut() == 1 && t.Out(0).Kind() == reflect.Bool { + if len(matcher.FuncErrDescription) == 0 { + return false, fmt.Errorf("MatchError requires an additional description when passed a function") + } + matcher.isFunc = true + return v.Call([]reflect.Value{reflect.ValueOf(actualErr)})[0].Bool(), nil + } + var subMatcher omegaMatcher var hasSubMatcher bool if expected != nil { @@ -57,9 +72,15 @@ func (matcher *MatchErrorMatcher) Match(actual interface{}) (success bool, err e } func (matcher *MatchErrorMatcher) FailureMessage(actual interface{}) (message string) { + if matcher.isFunc { + return format.Message(actual, fmt.Sprintf("to match error function %s", matcher.FuncErrDescription[0])) + } return format.Message(actual, "to match error", matcher.Expected) } func (matcher *MatchErrorMatcher) NegatedFailureMessage(actual interface{}) (message string) { + if matcher.isFunc { + return format.Message(actual, fmt.Sprintf("not to match error function %s", matcher.FuncErrDescription[0])) + } return format.Message(actual, "not to match error", matcher.Expected) } diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/net/context/go17.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/net/context/go17.go index 2cb9c40..0c1b867 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/net/context/go17.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/net/context/go17.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build go1.7 -// +build go1.7 package context diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/net/context/go19.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/net/context/go19.go index 64d31ec..e31e35a 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/net/context/go19.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/net/context/go19.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build go1.9 -// +build go1.9 package context diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/net/context/pre_go17.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/net/context/pre_go17.go index 7b6b685..065ff3d 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/net/context/pre_go17.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/net/context/pre_go17.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build !go1.7 -// +build !go1.7 package context diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/net/context/pre_go19.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/net/context/pre_go19.go index 1f97153..ec5a638 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/net/context/pre_go19.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/net/context/pre_go19.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build !go1.9 -// +build !go1.9 package context diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/aliases.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/aliases.go index abc89c1..e7d3df4 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/aliases.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/aliases.go @@ -3,8 +3,6 @@ // license that can be found in the LICENSE file. //go:build (aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos) && go1.9 -// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos -// +build go1.9 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_aix_ppc64.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_aix_ppc64.s index db9171c..269e173 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_aix_ppc64.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_aix_ppc64.s @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build gc -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_386.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_386.s index e0fcd9b..a4fcef0 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_386.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_386.s @@ -3,8 +3,6 @@ // license that can be found in the LICENSE file. //go:build (freebsd || netbsd || openbsd) && gc -// +build freebsd netbsd openbsd -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_amd64.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_amd64.s index 2b99c34..1e63615 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_amd64.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_amd64.s @@ -3,8 +3,6 @@ // license that can be found in the LICENSE file. //go:build (darwin || dragonfly || freebsd || netbsd || openbsd) && gc -// +build darwin dragonfly freebsd netbsd openbsd -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_arm.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_arm.s index d702d4a..6496c31 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_arm.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_arm.s @@ -3,8 +3,6 @@ // license that can be found in the LICENSE file. //go:build (freebsd || netbsd || openbsd) && gc -// +build freebsd netbsd openbsd -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_arm64.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_arm64.s index fe36a73..4fd1f54 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_arm64.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_arm64.s @@ -3,8 +3,6 @@ // license that can be found in the LICENSE file. //go:build (darwin || freebsd || netbsd || openbsd) && gc -// +build darwin freebsd netbsd openbsd -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s index e5b9a84..42f7eb9 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s @@ -3,8 +3,6 @@ // license that can be found in the LICENSE file. //go:build (darwin || freebsd || netbsd || openbsd) && gc -// +build darwin freebsd netbsd openbsd -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s index d560019..f890266 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s @@ -3,8 +3,6 @@ // license that can be found in the LICENSE file. //go:build (darwin || freebsd || netbsd || openbsd) && gc -// +build darwin freebsd netbsd openbsd -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_386.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_386.s index 8fd101d..3b47348 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_386.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_386.s @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build gc -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_amd64.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_amd64.s index 7ed38e4..67e29f3 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_amd64.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_amd64.s @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build gc -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_arm.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_arm.s index 8ef1d51..d6ae269 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_arm.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_arm.s @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build gc -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_arm64.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_arm64.s index 98ae027..01e5e25 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_arm64.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_arm64.s @@ -3,9 +3,6 @@ // license that can be found in the LICENSE file. //go:build linux && arm64 && gc -// +build linux -// +build arm64 -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_loong64.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_loong64.s index 5653572..2abf12f 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_loong64.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_loong64.s @@ -3,9 +3,6 @@ // license that can be found in the LICENSE file. //go:build linux && loong64 && gc -// +build linux -// +build loong64 -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s index 21231d2..f84bae7 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s @@ -3,9 +3,6 @@ // license that can be found in the LICENSE file. //go:build linux && (mips64 || mips64le) && gc -// +build linux -// +build mips64 mips64le -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s index 6783b26..f08f628 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s @@ -3,9 +3,6 @@ // license that can be found in the LICENSE file. //go:build linux && (mips || mipsle) && gc -// +build linux -// +build mips mipsle -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s index 19d4989..bdfc024 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s @@ -3,9 +3,6 @@ // license that can be found in the LICENSE file. //go:build linux && (ppc64 || ppc64le) && gc -// +build linux -// +build ppc64 ppc64le -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_riscv64.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_riscv64.s index e42eb81..2e8c996 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_riscv64.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_riscv64.s @@ -3,8 +3,6 @@ // license that can be found in the LICENSE file. //go:build riscv64 && gc -// +build riscv64 -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_s390x.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_s390x.s index c46aab3..2c394b1 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_s390x.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_linux_s390x.s @@ -3,9 +3,6 @@ // license that can be found in the LICENSE file. //go:build linux && s390x && gc -// +build linux -// +build s390x -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s index 5e7a116..fab586a 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build gc -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_solaris_amd64.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_solaris_amd64.s index f8c5394..f949ec5 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_solaris_amd64.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_solaris_amd64.s @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build gc -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_zos_s390x.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_zos_s390x.s index 3b54e18..2f67ba8 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_zos_s390x.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/asm_zos_s390x.s @@ -3,9 +3,6 @@ // license that can be found in the LICENSE file. //go:build zos && s390x && gc -// +build zos -// +build s390x -// +build gc #include "textflag.h" diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/cap_freebsd.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/cap_freebsd.go index 0b7c6ad..a086578 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/cap_freebsd.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/cap_freebsd.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build freebsd -// +build freebsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/constants.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/constants.go index 394a396..6fb7cb7 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/constants.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/constants.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos -// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/dev_aix_ppc.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/dev_aix_ppc.go index 65a9985..d785134 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/dev_aix_ppc.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/dev_aix_ppc.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix && ppc -// +build aix,ppc // Functions to access/create device major and minor numbers matching the // encoding used by AIX. diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go index 8fc08ad..623a5e6 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix && ppc64 -// +build aix,ppc64 // Functions to access/create device major and minor numbers matching the // encoding used AIX. diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/dev_zos.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/dev_zos.go index a388e59..bb6a64f 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/dev_zos.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/dev_zos.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build zos && s390x -// +build zos,s390x // Functions to access/create device major and minor numbers matching the // encoding used by z/OS. diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/dirent.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/dirent.go index 2499f97..1ebf117 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/dirent.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/dirent.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos -// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/endian_big.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/endian_big.go index a520265..1095fd3 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/endian_big.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/endian_big.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. // //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64 -// +build armbe arm64be m68k mips mips64 mips64p32 ppc ppc64 s390 s390x shbe sparc sparc64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/endian_little.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/endian_little.go index b0f2bc4..b9f0e27 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/endian_little.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/endian_little.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. // //go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh -// +build 386 amd64 amd64p32 alpha arm arm64 loong64 mipsle mips64le mips64p32le nios2 ppc64le riscv riscv64 sh package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/env_unix.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/env_unix.go index 29ccc4d..a96da71 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/env_unix.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/env_unix.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos -// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos // Unix environment variables. diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/epoll_zos.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/epoll_zos.go index cedaf7e..7753fdd 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/epoll_zos.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/epoll_zos.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build zos && s390x -// +build zos,s390x package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/fcntl.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/fcntl.go index e9b9912..58c6bfc 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/fcntl.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/fcntl.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build dragonfly || freebsd || linux || netbsd || openbsd -// +build dragonfly freebsd linux netbsd openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go index 29d4480..13b4acd 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build (linux && 386) || (linux && arm) || (linux && mips) || (linux && mipsle) || (linux && ppc) -// +build linux,386 linux,arm linux,mips linux,mipsle linux,ppc package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/fdset.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/fdset.go index a8068f9..9e83d18 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/fdset.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/fdset.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos -// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/fstatfs_zos.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/fstatfs_zos.go index e377cc9..c8bde60 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/fstatfs_zos.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/fstatfs_zos.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build zos && s390x -// +build zos,s390x package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/gccgo.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/gccgo.go index b06f52d..aca5721 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/gccgo.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/gccgo.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build gccgo && !aix && !hurd -// +build gccgo,!aix,!hurd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/gccgo_c.c b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/gccgo_c.c index f98a1c5..d468b7b 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/gccgo_c.c +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/gccgo_c.c @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build gccgo && !aix && !hurd -// +build gccgo,!aix,!hurd #include #include diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go index e60e49a..972d61b 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build gccgo && linux && amd64 -// +build gccgo,linux,amd64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ifreq_linux.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ifreq_linux.go index 15721a5..848840a 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ifreq_linux.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ifreq_linux.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build linux -// +build linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ioctl_signed.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ioctl_signed.go index 7def958..5b0759b 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ioctl_signed.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ioctl_signed.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix || solaris -// +build aix solaris package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ioctl_unsigned.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ioctl_unsigned.go index 649913d..20f470b 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ioctl_unsigned.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ioctl_unsigned.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build darwin || dragonfly || freebsd || hurd || linux || netbsd || openbsd -// +build darwin dragonfly freebsd hurd linux netbsd openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ioctl_zos.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ioctl_zos.go index cdc21bf..c8b2a75 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ioctl_zos.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ioctl_zos.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build zos && s390x -// +build zos,s390x package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/mkerrors.sh b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/mkerrors.sh index 47fa6a7..cbe2415 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/mkerrors.sh +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/mkerrors.sh @@ -663,7 +663,6 @@ echo '// mkerrors.sh' "$@" echo '// Code generated by the command above; see README.md. DO NOT EDIT.' echo echo "//go:build ${GOARCH} && ${GOOS}" -echo "// +build ${GOARCH},${GOOS}" echo go tool cgo -godefs -- "$@" _const.go >_error.out cat _error.out | grep -vf _error.grep | grep -vf _signal.grep diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/mmap_nomremap.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/mmap_nomremap.go index ca05136..4b68e59 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/mmap_nomremap.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/mmap_nomremap.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix || darwin || dragonfly || freebsd || openbsd || solaris -// +build aix darwin dragonfly freebsd openbsd solaris package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/mremap.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/mremap.go index fa93d0a..fd45fe5 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/mremap.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/mremap.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build linux || netbsd -// +build linux netbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/pagesize_unix.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/pagesize_unix.go index 53f1b4c..4d0a343 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/pagesize_unix.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/pagesize_unix.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris -// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris // For Unix, get the pagesize from the runtime. diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/pledge_openbsd.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/pledge_openbsd.go index eb48294..6a09af5 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/pledge_openbsd.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/pledge_openbsd.go @@ -8,54 +8,31 @@ 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. +// This changes both the promises and execpromises; use PledgePromises or +// PledgeExecpromises to only change the promises or execpromises +// respectively. // // For more information see pledge(2). func Pledge(promises, execpromises string) error { - maj, min, err := majmin() - if err != nil { + if err := pledgeAvailable(); err != nil { return err } - err = pledgeAvailable(maj, min, execpromises) + pptr, err := BytePtrFromString(promises) if err != nil { return err } - pptr, err := syscall.BytePtrFromString(promises) + exptr, err := BytePtrFromString(execpromises) 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 + return pledge(pptr, exptr) } // PledgePromises implements the pledge syscall. @@ -64,30 +41,16 @@ func Pledge(promises, execpromises string) error { // // 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 { + if err := pledgeAvailable(); err != nil { return err } - // This variable holds the execpromises and is always nil. - var expr unsafe.Pointer - - pptr, err := syscall.BytePtrFromString(promises) + pptr, err := 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 + return pledge(pptr, nil) } // PledgeExecpromises implements the pledge syscall. @@ -96,30 +59,16 @@ func PledgePromises(promises string) error { // // For more information see pledge(2). func PledgeExecpromises(execpromises string) error { - maj, min, err := majmin() - if err != nil { + if err := pledgeAvailable(); err != nil { return err } - err = pledgeAvailable(maj, min, execpromises) + exptr, err := BytePtrFromString(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 + return pledge(nil, exptr) } // majmin returns major and minor version number for an OpenBSD system. @@ -147,16 +96,15 @@ func majmin() (major int, minor int, err error) { // 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) +func pledgeAvailable() error { + maj, min, err := majmin() + if err != nil { + return err } - // 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) + // Require OpenBSD 6.4 as a minimum. + if maj < 6 || (maj == 6 && min <= 3) { + return fmt.Errorf("cannot call Pledge on OpenBSD %d.%d", maj, min) } return nil diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ptrace_darwin.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ptrace_darwin.go index 463c3ef..3f0975f 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ptrace_darwin.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ptrace_darwin.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build darwin && !ios -// +build darwin,!ios package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ptrace_ios.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ptrace_ios.go index ed0509a..a4d35db 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ptrace_ios.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ptrace_ios.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build ios -// +build ios package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/race.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/race.go index 6f6c5fe..714d2aa 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/race.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/race.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build (darwin && race) || (linux && race) || (freebsd && race) -// +build darwin,race linux,race freebsd,race package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/race0.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/race0.go index 706e132..4a9f663 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/race0.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/race0.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix || (darwin && !race) || (linux && !race) || (freebsd && !race) || netbsd || openbsd || solaris || dragonfly || zos -// +build aix darwin,!race linux,!race freebsd,!race netbsd openbsd solaris dragonfly zos package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/readdirent_getdents.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/readdirent_getdents.go index 4d62575..dbd2b6c 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/readdirent_getdents.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/readdirent_getdents.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix || dragonfly || freebsd || linux || netbsd || openbsd -// +build aix dragonfly freebsd linux netbsd openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go index 2a4ba47..130398b 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build darwin -// +build darwin package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sockcmsg_unix.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sockcmsg_unix.go index 3865943..c3a62db 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sockcmsg_unix.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sockcmsg_unix.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos -// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos // Socket control messages diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go index 0840fe4..4a1eab3 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix || darwin || freebsd || linux || netbsd || openbsd || solaris || zos -// +build aix darwin freebsd linux netbsd openbsd solaris zos package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall.go index 63e8c83..5ea74da 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos -// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos // Package unix contains an interface to the low-level operating system // primitives. OS details vary depending on the underlying system, and diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_aix.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_aix.go index e94e6cd..67ce6ce 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_aix.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_aix.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix -// +build aix // Aix system calls. // This file is compiled as ordinary Go code, @@ -107,7 +106,8 @@ func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) { if n > 0 { sl += _Socklen(n) + 1 } - if sa.raw.Path[0] == '@' { + if sa.raw.Path[0] == '@' || (sa.raw.Path[0] == 0 && sl > 3) { + // Check sl > 3 so we don't change unnamed socket behavior. sa.raw.Path[0] = 0 // Don't count trailing NUL for abstract address. sl-- diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go index f2871fa..1fdaa47 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix && ppc -// +build aix,ppc package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go index 75718ec..c87f9a9 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix && ppc64 -// +build aix,ppc64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_bsd.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_bsd.go index 4217de5..6f328e3 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_bsd.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_bsd.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build darwin || dragonfly || freebsd || netbsd || openbsd -// +build darwin dragonfly freebsd netbsd openbsd // BSD system call wrappers shared by *BSD based systems // including OS X (Darwin) and FreeBSD. Like the other diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go index b37310c..0eaecf5 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build amd64 && darwin -// +build amd64,darwin package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go index d51ec99..f36c670 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build arm64 && darwin -// +build arm64,darwin package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go index 53c9664..16dc699 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build darwin && go1.12 -// +build darwin,go1.12 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go index 4e2d321..14bab6b 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build amd64 && dragonfly -// +build amd64,dragonfly package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go index b8da510..3967bca 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build 386 && freebsd -// +build 386,freebsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go index 47155c4..eff19ad 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build amd64 && freebsd -// +build amd64,freebsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go index 0893209..4f24b51 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build arm && freebsd -// +build arm,freebsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go index d151a0d..ac30759 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build arm64 && freebsd -// +build arm64,freebsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go index d5cd64b..aab725c 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build riscv64 && freebsd -// +build riscv64,freebsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_hurd.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_hurd.go index 381fd46..ba46651 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_hurd.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_hurd.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build hurd -// +build hurd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_hurd_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_hurd_386.go index 7cf54a3..df89f9e 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_hurd_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_hurd_386.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build 386 && hurd -// +build 386,hurd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_illumos.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_illumos.go index 87db5a6..a863f70 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_illumos.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_illumos.go @@ -5,7 +5,6 @@ // illumos system calls not present on Solaris. //go:build amd64 && illumos -// +build amd64,illumos package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux.go index fb4e502..a5e1c10 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux.go @@ -417,7 +417,8 @@ func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) { if n > 0 { sl += _Socklen(n) + 1 } - if sa.raw.Path[0] == '@' { + if sa.raw.Path[0] == '@' || (sa.raw.Path[0] == 0 && sl > 3) { + // Check sl > 3 so we don't change unnamed socket behavior. sa.raw.Path[0] = 0 // Don't count trailing NUL for abstract address. sl-- @@ -2482,3 +2483,5 @@ func SchedGetAttr(pid int, flags uint) (*SchedAttr, error) { } return attr, nil } + +//sys Cachestat(fd uint, crange *CachestatRange, cstat *Cachestat_t, flags uint) (err error) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_386.go index c7d9945..506dafa 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_386.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build 386 && linux -// +build 386,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_alarm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_alarm.go index 08086ac..38d5564 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_alarm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_alarm.go @@ -3,8 +3,6 @@ // license that can be found in the LICENSE file. //go:build linux && (386 || amd64 || mips || mipsle || mips64 || mipsle || ppc64 || ppc64le || ppc || s390x || sparc64) -// +build linux -// +build 386 amd64 mips mipsle mips64 mipsle ppc64 ppc64le ppc s390x sparc64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go index 70601ce..d557cf8 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build amd64 && linux -// +build amd64,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go index 8b0f0f3..facdb83 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build amd64 && linux && gc -// +build amd64,linux,gc package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_arm.go index da29864..cd2dd79 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_arm.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build arm && linux -// +build arm,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go index f526668..cf2ee6c 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build arm64 && linux -// +build arm64,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gc.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gc.go index 2b1168d..ffc4c2b 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gc.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gc.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build linux && gc -// +build linux,gc package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go index 9843fb4..9ebfdcf 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build linux && gc && 386 -// +build linux,gc,386 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go index a6008fc..5f2b57c 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build arm && gc && linux -// +build arm,gc,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go index 7740af2..d1a3ad8 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build linux && gccgo && 386 -// +build linux,gccgo,386 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go index e16a122..f2f6742 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build linux && gccgo && arm -// +build linux,gccgo,arm package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go index f6ab02e..3d0e984 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build loong64 && linux -// +build loong64,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go index 93fe59d..70963a9 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go @@ -3,8 +3,6 @@ // license that can be found in the LICENSE file. //go:build linux && (mips64 || mips64le) -// +build linux -// +build mips64 mips64le package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go index aae7f0f..c218ebd 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go @@ -3,8 +3,6 @@ // license that can be found in the LICENSE file. //go:build linux && (mips || mipsle) -// +build linux -// +build mips mipsle package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go index 66eff19..e6c4850 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build linux && ppc -// +build linux,ppc package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go index 806aa25..7286a9a 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go @@ -3,8 +3,6 @@ // license that can be found in the LICENSE file. //go:build linux && (ppc64 || ppc64le) -// +build linux -// +build ppc64 ppc64le package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go index 5e6ceee..6f5a288 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build riscv64 && linux -// +build riscv64,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go index 2f89e8f..66f3121 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build s390x && linux -// +build s390x,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go index 7ca064a..11d1f16 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build sparc64 && linux -// +build sparc64,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go index 5199d28..7a5eb57 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build 386 && netbsd -// +build 386,netbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go index 70a9c52..62d8957 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build amd64 && netbsd -// +build amd64,netbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go index 3eb5942..ce6a068 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build arm && netbsd -// +build arm,netbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go index fc6ccfd..d46d689 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build arm64 && netbsd -// +build arm64,netbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd.go index 6f34479..d2882ee 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd.go @@ -137,18 +137,13 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e } func Getfsstat(buf []Statfs_t, flags int) (n int, err error) { - var _p0 unsafe.Pointer + var bufptr *Statfs_t var bufsize uintptr if len(buf) > 0 { - _p0 = unsafe.Pointer(&buf[0]) + bufptr = &buf[0] bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf)) } - r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(_p0), bufsize, uintptr(flags)) - n = int(r0) - if e1 != 0 { - err = e1 - } - return + return getfsstat(bufptr, bufsize, flags) } //sysnb getresuid(ruid *_C_int, euid *_C_int, suid *_C_int) @@ -326,4 +321,7 @@ func Uname(uname *Utsname) error { //sys write(fd int, p []byte) (n int, err error) //sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) //sys munmap(addr uintptr, length uintptr) (err error) +//sys getfsstat(stat *Statfs_t, bufsize uintptr, flags int) (n int, err error) //sys utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) +//sys pledge(promises *byte, execpromises *byte) (err error) +//sys unveil(path *byte, flags *byte) (err error) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go index 6baabcd..9ddc89f 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build 386 && openbsd -// +build 386,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go index bab2536..70a3c96 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build amd64 && openbsd -// +build amd64,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go index 8eed3c4..265caa8 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build arm && openbsd -// +build arm,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go index 483dde9..ac4fda1 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build arm64 && openbsd -// +build arm64,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go index 04aa43f..0a451e6 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build openbsd -// +build openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_ppc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_ppc64.go index c279613..30a308c 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_ppc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_ppc64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build ppc64 && openbsd -// +build ppc64,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_riscv64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_riscv64.go index 23199a7..ea95433 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_riscv64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_openbsd_riscv64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build riscv64 && openbsd -// +build riscv64,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_solaris.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_solaris.go index b99cfa1..60c8142 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_solaris.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_solaris.go @@ -128,7 +128,8 @@ func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) { if n > 0 { sl += _Socklen(n) + 1 } - if sa.raw.Path[0] == '@' { + if sa.raw.Path[0] == '@' || (sa.raw.Path[0] == 0 && sl > 3) { + // Check sl > 3 so we don't change unnamed socket behavior. sa.raw.Path[0] = 0 // Don't count trailing NUL for abstract address. sl-- diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go index 0bd25ef..e02d8ce 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build amd64 && solaris -// +build amd64,solaris package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_unix.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_unix.go index f6eda27..77081de 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_unix.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_unix.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris -// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_unix_gc.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_unix_gc.go index b6919ca..05c95bc 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_unix_gc.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_unix_gc.go @@ -3,8 +3,6 @@ // license that can be found in the LICENSE file. //go:build (darwin || dragonfly || freebsd || (linux && !ppc64 && !ppc64le) || netbsd || openbsd || solaris) && gc -// +build darwin dragonfly freebsd linux,!ppc64,!ppc64le netbsd openbsd solaris -// +build gc package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go index f6f707a..23f39b7 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go @@ -3,9 +3,6 @@ // license that can be found in the LICENSE file. //go:build linux && (ppc64le || ppc64) && gc -// +build linux -// +build ppc64le ppc64 -// +build gc package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go index 4596d04..d99d05f 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build zos && s390x -// +build zos,s390x package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sysvshm_linux.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sysvshm_linux.go index 2c3a443..4fcd38d 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sysvshm_linux.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sysvshm_linux.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build linux -// +build linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sysvshm_unix.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sysvshm_unix.go index 5bb41d1..79a84f1 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sysvshm_unix.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sysvshm_unix.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build (darwin && !ios) || linux -// +build darwin,!ios linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sysvshm_unix_other.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sysvshm_unix_other.go index 71bddef..9eb0db6 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sysvshm_unix_other.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/sysvshm_unix_other.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build darwin && !ios -// +build darwin,!ios package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/timestruct.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/timestruct.go index 616b1b2..7997b19 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/timestruct.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/timestruct.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos -// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/unveil_openbsd.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/unveil_openbsd.go index 168d5ae..cb7e598 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/unveil_openbsd.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/unveil_openbsd.go @@ -4,39 +4,48 @@ package unix -import ( - "syscall" - "unsafe" -) +import "fmt" // 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 { + if err := supportsUnveil(); err != nil { return err } - flagsPtr, err := syscall.BytePtrFromString(flags) + pathPtr, err := BytePtrFromString(path) if err != nil { return err } - _, _, e := syscall.Syscall(SYS_UNVEIL, uintptr(unsafe.Pointer(pathPtr)), uintptr(unsafe.Pointer(flagsPtr)), 0) - if e != 0 { - return e + flagsPtr, err := BytePtrFromString(flags) + if err != nil { + return err } - return nil + return unveil(pathPtr, flagsPtr) } // 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 + if err := supportsUnveil(); err != nil { + return err } + return unveil(nil, nil) +} + +// supportsUnveil checks for availability of the unveil(2) system call based +// on the running OpenBSD version. +func supportsUnveil() error { + maj, min, err := majmin() + if err != nil { + return err + } + + // unveil is not available before 6.4 + if maj < 6 || (maj == 6 && min <= 3) { + return fmt.Errorf("cannot call Unveil on OpenBSD %d.%d", maj, min) + } + return nil } diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/xattr_bsd.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/xattr_bsd.go index f5f8e9f..e168793 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/xattr_bsd.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/xattr_bsd.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build freebsd || netbsd -// +build freebsd netbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go index ca9799b..2fb219d 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build ppc && aix -// +build ppc,aix // Created by cgo -godefs - DO NOT EDIT // cgo -godefs -- -maix32 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go index 200c8c2..b0e6f5c 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build ppc64 && aix -// +build ppc64,aix // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -maix64 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go index 1430076..e40fa85 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && darwin -// +build amd64,darwin // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -m64 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go index ab044a7..bb02aa6 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm64 && darwin -// +build arm64,darwin // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -m64 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go index 17bba0e..c0e0f86 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && dragonfly -// +build amd64,dragonfly // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -m64 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go index f8c2c51..6c69239 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build 386 && freebsd -// +build 386,freebsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -m32 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go index 96310c3..dd9163f 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && freebsd -// +build amd64,freebsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -m64 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go index 777b69d..493a2a7 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm && freebsd -// +build arm,freebsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go index c557ac2..8b437b3 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm64 && freebsd -// +build arm64,freebsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -m64 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go index 341b4d9..67c02dd 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build riscv64 && freebsd -// +build riscv64,freebsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -m64 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux.go index f9c7f47..9c00cbf 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux.go @@ -1,7 +1,6 @@ // Code generated by mkmerge; DO NOT EDIT. //go:build linux -// +build linux package unix @@ -481,10 +480,14 @@ const ( BPF_FROM_BE = 0x8 BPF_FROM_LE = 0x0 BPF_FS_MAGIC = 0xcafe4a11 + BPF_F_AFTER = 0x10 BPF_F_ALLOW_MULTI = 0x2 BPF_F_ALLOW_OVERRIDE = 0x1 BPF_F_ANY_ALIGNMENT = 0x2 - BPF_F_KPROBE_MULTI_RETURN = 0x1 + BPF_F_BEFORE = 0x8 + BPF_F_ID = 0x20 + BPF_F_LINK = 0x2000 + BPF_F_NETFILTER_IP_DEFRAG = 0x1 BPF_F_QUERY_EFFECTIVE = 0x1 BPF_F_REPLACE = 0x4 BPF_F_SLEEPABLE = 0x10 @@ -521,6 +524,7 @@ const ( BPF_MAJOR_VERSION = 0x1 BPF_MAXINSNS = 0x1000 BPF_MEM = 0x60 + BPF_MEMSX = 0x80 BPF_MEMWORDS = 0x10 BPF_MINOR_VERSION = 0x1 BPF_MISC = 0x7 @@ -776,6 +780,8 @@ const ( DEVLINK_GENL_MCGRP_CONFIG_NAME = "config" DEVLINK_GENL_NAME = "devlink" DEVLINK_GENL_VERSION = 0x1 + DEVLINK_PORT_FN_CAP_IPSEC_CRYPTO = 0x4 + DEVLINK_PORT_FN_CAP_IPSEC_PACKET = 0x8 DEVLINK_PORT_FN_CAP_MIGRATABLE = 0x2 DEVLINK_PORT_FN_CAP_ROCE = 0x1 DEVLINK_SB_THRESHOLD_TO_ALPHA_MAX = 0x14 @@ -1698,6 +1704,7 @@ const ( KEXEC_ON_CRASH = 0x1 KEXEC_PRESERVE_CONTEXT = 0x2 KEXEC_SEGMENT_MAX = 0x10 + KEXEC_UPDATE_ELFCOREHDR = 0x4 KEYCTL_ASSUME_AUTHORITY = 0x10 KEYCTL_CAPABILITIES = 0x1f KEYCTL_CAPS0_BIG_KEY = 0x10 @@ -2275,6 +2282,7 @@ const ( PERF_MEM_LVLNUM_PMEM = 0xe PERF_MEM_LVLNUM_RAM = 0xd PERF_MEM_LVLNUM_SHIFT = 0x21 + PERF_MEM_LVLNUM_UNC = 0x8 PERF_MEM_LVL_HIT = 0x2 PERF_MEM_LVL_IO = 0x1000 PERF_MEM_LVL_L1 = 0x8 @@ -3461,6 +3469,7 @@ const ( XDP_PACKET_HEADROOM = 0x100 XDP_PGOFF_RX_RING = 0x0 XDP_PGOFF_TX_RING = 0x80000000 + XDP_PKT_CONTD = 0x1 XDP_RING_NEED_WAKEUP = 0x1 XDP_RX_RING = 0x2 XDP_SHARED_UMEM = 0x1 @@ -3473,6 +3482,7 @@ const ( XDP_UMEM_REG = 0x4 XDP_UMEM_UNALIGNED_CHUNK_FLAG = 0x1 XDP_USE_NEED_WAKEUP = 0x8 + XDP_USE_SG = 0x10 XDP_ZEROCOPY = 0x4 XENFS_SUPER_MAGIC = 0xabba1974 XFS_SUPER_MAGIC = 0x58465342 diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_386.go index 30aee00..4920821 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_386.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build 386 && linux -// +build 386,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -Wall -Werror -static -I/tmp/386/include -m32 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go index 8ebfa51..a0c1e41 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && linux -// +build amd64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -Wall -Werror -static -I/tmp/amd64/include -m64 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go index 271a21c..c639855 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm && linux -// +build arm,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -Wall -Werror -static -I/tmp/arm/include _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go index 910c330..47cc62e 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm64 && linux -// +build arm64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -Wall -Werror -static -I/tmp/arm64/include -fsigned-char _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go index a640798..27ac4a0 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build loong64 && linux -// +build loong64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -Wall -Werror -static -I/tmp/loong64/include _const.go @@ -119,6 +118,7 @@ const ( IXOFF = 0x1000 IXON = 0x400 LASX_CTX_MAGIC = 0x41535801 + LBT_CTX_MAGIC = 0x42540001 LSX_CTX_MAGIC = 0x53580001 MAP_ANON = 0x20 MAP_ANONYMOUS = 0x20 diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go index 0d5925d..5469464 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mips && linux -// +build mips,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -Wall -Werror -static -I/tmp/mips/include _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go index d72a00e..3adb81d 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mips64 && linux -// +build mips64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -Wall -Werror -static -I/tmp/mips64/include _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go index 02ba129..2dfe98f 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mips64le && linux -// +build mips64le,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -Wall -Werror -static -I/tmp/mips64le/include _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go index 8daa6dd..f5398f8 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mipsle && linux -// +build mipsle,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -Wall -Werror -static -I/tmp/mipsle/include _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go index 63c8fa2..c54f152 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build ppc && linux -// +build ppc,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -Wall -Werror -static -I/tmp/ppc/include _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go index 930799e..76057dc 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build ppc64 && linux -// +build ppc64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -Wall -Werror -static -I/tmp/ppc64/include _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go index 8605a7d..e0c3725 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build ppc64le && linux -// +build ppc64le,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -Wall -Werror -static -I/tmp/ppc64le/include _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go index 95a016f..18f2813 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build riscv64 && linux -// +build riscv64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -Wall -Werror -static -I/tmp/riscv64/include _const.go @@ -228,6 +227,9 @@ const ( PPPIOCUNBRIDGECHAN = 0x7434 PPPIOCXFERUNIT = 0x744e PR_SET_PTRACER_ANY = 0xffffffffffffffff + PTRACE_GETFDPIC = 0x21 + PTRACE_GETFDPIC_EXEC = 0x0 + PTRACE_GETFDPIC_INTERP = 0x1 RLIMIT_AS = 0x9 RLIMIT_MEMLOCK = 0x8 RLIMIT_NOFILE = 0x7 diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go index 1ae0108..11619d4 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build s390x && linux -// +build s390x,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -Wall -Werror -static -I/tmp/s390x/include -fsigned-char _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go index 1bb7c63..396d994 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build sparc64 && linux -// +build sparc64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -Wall -Werror -static -I/tmp/sparc64/include _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go index 72f7420..130085d 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build 386 && netbsd -// +build 386,netbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -m32 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go index 8d4eb0c..84769a1 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && netbsd -// +build amd64,netbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -m64 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go index 9eef974..602ded0 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm && netbsd -// +build arm,netbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -marm _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go index 3b62ba1..efc0406 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm64 && netbsd -// +build arm64,netbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -m64 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go index af20e47..5a6500f 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build 386 && openbsd -// +build 386,openbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -m32 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go index 6015fcb..a5aeeb9 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && openbsd -// +build amd64,openbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -m64 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go index 8d44955..0e9748a 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm && openbsd -// +build arm,openbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go index ae16fe7..4f4449a 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm64 && openbsd -// +build arm64,openbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -m64 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_mips64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_mips64.go index 03d90fe..76a363f 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_mips64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_mips64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mips64 && openbsd -// +build mips64,openbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -m64 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_ppc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_ppc64.go index 8e2c51b..43ca0cd 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_ppc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_ppc64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build ppc64 && openbsd -// +build ppc64,openbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -m64 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_riscv64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_riscv64.go index 13d4030..b1b8bb2 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_riscv64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_openbsd_riscv64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build riscv64 && openbsd -// +build riscv64,openbsd // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -m64 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go index 1afee6a..d2ddd31 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && solaris -// +build amd64,solaris // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -m64 _const.go diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go index fc7d050..4dfd2e0 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build zos && s390x -// +build zos,s390x // Hand edited based on zerrors_linux_s390x.go // TODO: auto-generate. diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go index 97f20ca..586317c 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go @@ -1,8 +1,6 @@ // Code generated by linux/mkall.go generatePtracePair("arm", "arm64"). DO NOT EDIT. //go:build linux && (arm || arm64) -// +build linux -// +build arm arm64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go index 0b5f794..d7c881b 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go @@ -1,8 +1,6 @@ // Code generated by linux/mkall.go generatePtracePair("mips", "mips64"). DO NOT EDIT. //go:build linux && (mips || mips64) -// +build linux -// +build mips mips64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go index 2807f7e..2d2de5d 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go @@ -1,8 +1,6 @@ // Code generated by linux/mkall.go generatePtracePair("mipsle", "mips64le"). DO NOT EDIT. //go:build linux && (mipsle || mips64le) -// +build linux -// +build mipsle mips64le package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zptrace_x86_linux.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zptrace_x86_linux.go index 281ea64..5adc79f 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zptrace_x86_linux.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zptrace_x86_linux.go @@ -1,8 +1,6 @@ // Code generated by linux/mkall.go generatePtracePair("386", "amd64"). DO NOT EDIT. //go:build linux && (386 || amd64) -// +build linux -// +build 386 amd64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go index d1d1d23..6ea64a3 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build aix && ppc -// +build aix,ppc package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go index f99a18a..99ee439 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build aix && ppc64 -// +build aix,ppc64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go index c4d50ae..b68a783 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build aix && ppc64 && gc -// +build aix,ppc64,gc package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go index 6903d3b..0a87450 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build aix && ppc64 && gccgo -// +build aix,ppc64,gccgo package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go index 1cad561..ccb02f2 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build darwin && amd64 -// +build darwin,amd64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go index b18edbd..1b40b99 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build darwin && arm64 -// +build darwin,arm64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go index 0c67df6..aad65fc 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build dragonfly && amd64 -// +build dragonfly,amd64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go index e6e05d1..c009639 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build freebsd && 386 -// +build freebsd,386 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go index 7508acc..7664df7 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build freebsd && amd64 -// +build freebsd,amd64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go index 7b56aea..ae09918 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build freebsd && arm -// +build freebsd,arm package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go index cc623dc..11fd5d4 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build freebsd && arm64 -// +build freebsd,arm64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go index 5818491..c3d2d65 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build freebsd && riscv64 -// +build freebsd,riscv64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go index 6be25cd..c698cbc 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build illumos && amd64 -// +build illumos,amd64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux.go index 1ff3aec..faca7a5 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux.go @@ -1,7 +1,6 @@ // Code generated by mkmerge; DO NOT EDIT. //go:build linux -// +build linux package unix @@ -2195,3 +2194,13 @@ func schedGetattr(pid int, attr *SchedAttr, size uint, flags uint) (err error) { } return } + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Cachestat(fd uint, crange *CachestatRange, cstat *Cachestat_t, flags uint) (err error) { + _, _, e1 := Syscall6(SYS_CACHESTAT, uintptr(fd), uintptr(unsafe.Pointer(crange)), uintptr(unsafe.Pointer(cstat)), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go index 07b549c..4def3e9 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build linux && 386 -// +build linux,386 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go index 5f481bf..fef2bc8 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build linux && amd64 -// +build linux,amd64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go index 824cd52..a9fd76a 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build linux && arm -// +build linux,arm package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go index e77aecf..4600650 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build linux && arm64 -// +build linux,arm64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go index 806ffd1..c8987d2 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build linux && loong64 -// +build linux,loong64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go index 961a3af..921f430 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build linux && mips -// +build linux,mips package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go index ed05005..44f0678 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build linux && mips64 -// +build linux,mips64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go index d365b71..e7fa0ab 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build linux && mips64le -// +build linux,mips64le package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go index c3f1b8b..8c51256 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build linux && mipsle -// +build linux,mipsle package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go index a6574cf..7392fd4 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build linux && ppc -// +build linux,ppc package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go index f409902..4118043 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build linux && ppc64 -// +build linux,ppc64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go index 9dfcc29..40c6ce7 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build linux && ppc64le -// +build linux,ppc64le package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go index 0ab4f2e..2cfe34a 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build linux && riscv64 -// +build linux,riscv64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go index 6cde322..61e6f07 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build linux && s390x -// +build linux,s390x package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go index 5253d65..834b842 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build linux && sparc64 -// +build linux,sparc64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go index 2df3c5b..e91ebc1 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build netbsd && 386 -// +build netbsd,386 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go index a60556b..be28bab 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build netbsd && amd64 -// +build netbsd,amd64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go index 9f78891..fb587e8 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build netbsd && arm -// +build netbsd,arm package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go index 82a4cb2..d576438 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build netbsd && arm64 -// +build netbsd,arm64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go index 66b3b64..88bfc28 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build openbsd && 386 -// +build openbsd,386 package unix @@ -2213,6 +2212,21 @@ var libc_munmap_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func getfsstat(stat *Statfs_t, bufsize uintptr, flags int) (n int, err error) { + r0, _, e1 := syscall_syscall(libc_getfsstat_trampoline_addr, uintptr(unsafe.Pointer(stat)), uintptr(bufsize), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_getfsstat_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_getfsstat getfsstat "libc.so" + +// 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) @@ -2229,3 +2243,33 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error var libc_utimensat_trampoline_addr uintptr //go:cgo_import_dynamic libc_utimensat utimensat "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pledge(promises *byte, execpromises *byte) (err error) { + _, _, e1 := syscall_syscall(libc_pledge_trampoline_addr, uintptr(unsafe.Pointer(promises)), uintptr(unsafe.Pointer(execpromises)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_pledge_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_pledge pledge "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func unveil(path *byte, flags *byte) (err error) { + _, _, e1 := syscall_syscall(libc_unveil_trampoline_addr, uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(flags)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_unveil_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_unveil unveil "libc.so" + + diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s index 3dcacd3..4cbeff1 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s @@ -668,7 +668,22 @@ TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $4 DATA ·libc_munmap_trampoline_addr(SB)/4, $libc_munmap_trampoline<>(SB) +TEXT libc_getfsstat_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_getfsstat(SB) +GLOBL ·libc_getfsstat_trampoline_addr(SB), RODATA, $4 +DATA ·libc_getfsstat_trampoline_addr(SB)/4, $libc_getfsstat_trampoline<>(SB) + TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_utimensat(SB) GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $4 DATA ·libc_utimensat_trampoline_addr(SB)/4, $libc_utimensat_trampoline<>(SB) + +TEXT libc_pledge_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_pledge(SB) +GLOBL ·libc_pledge_trampoline_addr(SB), RODATA, $4 +DATA ·libc_pledge_trampoline_addr(SB)/4, $libc_pledge_trampoline<>(SB) + +TEXT libc_unveil_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_unveil(SB) +GLOBL ·libc_unveil_trampoline_addr(SB), RODATA, $4 +DATA ·libc_unveil_trampoline_addr(SB)/4, $libc_unveil_trampoline<>(SB) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go index c5c4cc1..b8a67b9 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build openbsd && amd64 -// +build openbsd,amd64 package unix @@ -2213,6 +2212,21 @@ var libc_munmap_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func getfsstat(stat *Statfs_t, bufsize uintptr, flags int) (n int, err error) { + r0, _, e1 := syscall_syscall(libc_getfsstat_trampoline_addr, uintptr(unsafe.Pointer(stat)), uintptr(bufsize), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_getfsstat_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_getfsstat getfsstat "libc.so" + +// 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) @@ -2229,3 +2243,33 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error var libc_utimensat_trampoline_addr uintptr //go:cgo_import_dynamic libc_utimensat utimensat "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pledge(promises *byte, execpromises *byte) (err error) { + _, _, e1 := syscall_syscall(libc_pledge_trampoline_addr, uintptr(unsafe.Pointer(promises)), uintptr(unsafe.Pointer(execpromises)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_pledge_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_pledge pledge "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func unveil(path *byte, flags *byte) (err error) { + _, _, e1 := syscall_syscall(libc_unveil_trampoline_addr, uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(flags)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_unveil_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_unveil unveil "libc.so" + + diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s index 2763620..1123f27 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s @@ -668,7 +668,22 @@ TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $8 DATA ·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB) +TEXT libc_getfsstat_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_getfsstat(SB) +GLOBL ·libc_getfsstat_trampoline_addr(SB), RODATA, $8 +DATA ·libc_getfsstat_trampoline_addr(SB)/8, $libc_getfsstat_trampoline<>(SB) + TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_utimensat(SB) GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $8 DATA ·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB) + +TEXT libc_pledge_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_pledge(SB) +GLOBL ·libc_pledge_trampoline_addr(SB), RODATA, $8 +DATA ·libc_pledge_trampoline_addr(SB)/8, $libc_pledge_trampoline<>(SB) + +TEXT libc_unveil_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_unveil(SB) +GLOBL ·libc_unveil_trampoline_addr(SB), RODATA, $8 +DATA ·libc_unveil_trampoline_addr(SB)/8, $libc_unveil_trampoline<>(SB) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go index 93bfbb3..af50a65 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build openbsd && arm -// +build openbsd,arm package unix @@ -2213,6 +2212,21 @@ var libc_munmap_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func getfsstat(stat *Statfs_t, bufsize uintptr, flags int) (n int, err error) { + r0, _, e1 := syscall_syscall(libc_getfsstat_trampoline_addr, uintptr(unsafe.Pointer(stat)), uintptr(bufsize), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_getfsstat_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_getfsstat getfsstat "libc.so" + +// 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) @@ -2229,3 +2243,33 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error var libc_utimensat_trampoline_addr uintptr //go:cgo_import_dynamic libc_utimensat utimensat "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pledge(promises *byte, execpromises *byte) (err error) { + _, _, e1 := syscall_syscall(libc_pledge_trampoline_addr, uintptr(unsafe.Pointer(promises)), uintptr(unsafe.Pointer(execpromises)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_pledge_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_pledge pledge "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func unveil(path *byte, flags *byte) (err error) { + _, _, e1 := syscall_syscall(libc_unveil_trampoline_addr, uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(flags)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_unveil_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_unveil unveil "libc.so" + + diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s index c922314..82badae 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s @@ -668,7 +668,22 @@ TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $4 DATA ·libc_munmap_trampoline_addr(SB)/4, $libc_munmap_trampoline<>(SB) +TEXT libc_getfsstat_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_getfsstat(SB) +GLOBL ·libc_getfsstat_trampoline_addr(SB), RODATA, $4 +DATA ·libc_getfsstat_trampoline_addr(SB)/4, $libc_getfsstat_trampoline<>(SB) + TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_utimensat(SB) GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $4 DATA ·libc_utimensat_trampoline_addr(SB)/4, $libc_utimensat_trampoline<>(SB) + +TEXT libc_pledge_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_pledge(SB) +GLOBL ·libc_pledge_trampoline_addr(SB), RODATA, $4 +DATA ·libc_pledge_trampoline_addr(SB)/4, $libc_pledge_trampoline<>(SB) + +TEXT libc_unveil_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_unveil(SB) +GLOBL ·libc_unveil_trampoline_addr(SB), RODATA, $4 +DATA ·libc_unveil_trampoline_addr(SB)/4, $libc_unveil_trampoline<>(SB) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go index a107b8f..8fb4ff3 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build openbsd && arm64 -// +build openbsd,arm64 package unix @@ -2213,6 +2212,21 @@ var libc_munmap_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func getfsstat(stat *Statfs_t, bufsize uintptr, flags int) (n int, err error) { + r0, _, e1 := syscall_syscall(libc_getfsstat_trampoline_addr, uintptr(unsafe.Pointer(stat)), uintptr(bufsize), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_getfsstat_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_getfsstat getfsstat "libc.so" + +// 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) @@ -2229,3 +2243,33 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error var libc_utimensat_trampoline_addr uintptr //go:cgo_import_dynamic libc_utimensat utimensat "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pledge(promises *byte, execpromises *byte) (err error) { + _, _, e1 := syscall_syscall(libc_pledge_trampoline_addr, uintptr(unsafe.Pointer(promises)), uintptr(unsafe.Pointer(execpromises)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_pledge_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_pledge pledge "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func unveil(path *byte, flags *byte) (err error) { + _, _, e1 := syscall_syscall(libc_unveil_trampoline_addr, uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(flags)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_unveil_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_unveil unveil "libc.so" + + diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s index a6bc32c..24d7eec 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s @@ -668,7 +668,22 @@ TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $8 DATA ·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB) +TEXT libc_getfsstat_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_getfsstat(SB) +GLOBL ·libc_getfsstat_trampoline_addr(SB), RODATA, $8 +DATA ·libc_getfsstat_trampoline_addr(SB)/8, $libc_getfsstat_trampoline<>(SB) + TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_utimensat(SB) GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $8 DATA ·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB) + +TEXT libc_pledge_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_pledge(SB) +GLOBL ·libc_pledge_trampoline_addr(SB), RODATA, $8 +DATA ·libc_pledge_trampoline_addr(SB)/8, $libc_pledge_trampoline<>(SB) + +TEXT libc_unveil_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_unveil(SB) +GLOBL ·libc_unveil_trampoline_addr(SB), RODATA, $8 +DATA ·libc_unveil_trampoline_addr(SB)/8, $libc_unveil_trampoline<>(SB) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go index c427de5..f469a83 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build openbsd && mips64 -// +build openbsd,mips64 package unix @@ -2213,6 +2212,21 @@ var libc_munmap_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func getfsstat(stat *Statfs_t, bufsize uintptr, flags int) (n int, err error) { + r0, _, e1 := syscall_syscall(libc_getfsstat_trampoline_addr, uintptr(unsafe.Pointer(stat)), uintptr(bufsize), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_getfsstat_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_getfsstat getfsstat "libc.so" + +// 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) @@ -2229,3 +2243,33 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error var libc_utimensat_trampoline_addr uintptr //go:cgo_import_dynamic libc_utimensat utimensat "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pledge(promises *byte, execpromises *byte) (err error) { + _, _, e1 := syscall_syscall(libc_pledge_trampoline_addr, uintptr(unsafe.Pointer(promises)), uintptr(unsafe.Pointer(execpromises)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_pledge_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_pledge pledge "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func unveil(path *byte, flags *byte) (err error) { + _, _, e1 := syscall_syscall(libc_unveil_trampoline_addr, uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(flags)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_unveil_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_unveil unveil "libc.so" + + diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s index b4e7bce..9a498a0 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s @@ -668,7 +668,22 @@ TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $8 DATA ·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB) +TEXT libc_getfsstat_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_getfsstat(SB) +GLOBL ·libc_getfsstat_trampoline_addr(SB), RODATA, $8 +DATA ·libc_getfsstat_trampoline_addr(SB)/8, $libc_getfsstat_trampoline<>(SB) + TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_utimensat(SB) GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $8 DATA ·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB) + +TEXT libc_pledge_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_pledge(SB) +GLOBL ·libc_pledge_trampoline_addr(SB), RODATA, $8 +DATA ·libc_pledge_trampoline_addr(SB)/8, $libc_pledge_trampoline<>(SB) + +TEXT libc_unveil_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_unveil(SB) +GLOBL ·libc_unveil_trampoline_addr(SB), RODATA, $8 +DATA ·libc_unveil_trampoline_addr(SB)/8, $libc_unveil_trampoline<>(SB) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go index 60c1a99..c26ca2e 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build openbsd && ppc64 -// +build openbsd,ppc64 package unix @@ -2213,6 +2212,21 @@ var libc_munmap_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func getfsstat(stat *Statfs_t, bufsize uintptr, flags int) (n int, err error) { + r0, _, e1 := syscall_syscall(libc_getfsstat_trampoline_addr, uintptr(unsafe.Pointer(stat)), uintptr(bufsize), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_getfsstat_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_getfsstat getfsstat "libc.so" + +// 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) @@ -2229,3 +2243,33 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error var libc_utimensat_trampoline_addr uintptr //go:cgo_import_dynamic libc_utimensat utimensat "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pledge(promises *byte, execpromises *byte) (err error) { + _, _, e1 := syscall_syscall(libc_pledge_trampoline_addr, uintptr(unsafe.Pointer(promises)), uintptr(unsafe.Pointer(execpromises)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_pledge_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_pledge pledge "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func unveil(path *byte, flags *byte) (err error) { + _, _, e1 := syscall_syscall(libc_unveil_trampoline_addr, uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(flags)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_unveil_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_unveil unveil "libc.so" + + diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s index ca3f766..1f224aa 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s @@ -801,8 +801,26 @@ TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $8 DATA ·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB) +TEXT libc_getfsstat_trampoline<>(SB),NOSPLIT,$0-0 + CALL libc_getfsstat(SB) + RET +GLOBL ·libc_getfsstat_trampoline_addr(SB), RODATA, $8 +DATA ·libc_getfsstat_trampoline_addr(SB)/8, $libc_getfsstat_trampoline<>(SB) + TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0 CALL libc_utimensat(SB) RET GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $8 DATA ·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB) + +TEXT libc_pledge_trampoline<>(SB),NOSPLIT,$0-0 + CALL libc_pledge(SB) + RET +GLOBL ·libc_pledge_trampoline_addr(SB), RODATA, $8 +DATA ·libc_pledge_trampoline_addr(SB)/8, $libc_pledge_trampoline<>(SB) + +TEXT libc_unveil_trampoline<>(SB),NOSPLIT,$0-0 + CALL libc_unveil(SB) + RET +GLOBL ·libc_unveil_trampoline_addr(SB), RODATA, $8 +DATA ·libc_unveil_trampoline_addr(SB)/8, $libc_unveil_trampoline<>(SB) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go index 52eba36..bcc920d 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build openbsd && riscv64 -// +build openbsd,riscv64 package unix @@ -2213,6 +2212,21 @@ var libc_munmap_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func getfsstat(stat *Statfs_t, bufsize uintptr, flags int) (n int, err error) { + r0, _, e1 := syscall_syscall(libc_getfsstat_trampoline_addr, uintptr(unsafe.Pointer(stat)), uintptr(bufsize), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_getfsstat_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_getfsstat getfsstat "libc.so" + +// 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) @@ -2229,3 +2243,33 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error var libc_utimensat_trampoline_addr uintptr //go:cgo_import_dynamic libc_utimensat utimensat "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pledge(promises *byte, execpromises *byte) (err error) { + _, _, e1 := syscall_syscall(libc_pledge_trampoline_addr, uintptr(unsafe.Pointer(promises)), uintptr(unsafe.Pointer(execpromises)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_pledge_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_pledge pledge "libc.so" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func unveil(path *byte, flags *byte) (err error) { + _, _, e1 := syscall_syscall(libc_unveil_trampoline_addr, uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(flags)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_unveil_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_unveil unveil "libc.so" + + diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s index 477a7d5..87a79c7 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s @@ -668,7 +668,22 @@ TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $8 DATA ·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB) +TEXT libc_getfsstat_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_getfsstat(SB) +GLOBL ·libc_getfsstat_trampoline_addr(SB), RODATA, $8 +DATA ·libc_getfsstat_trampoline_addr(SB)/8, $libc_getfsstat_trampoline<>(SB) + TEXT libc_utimensat_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_utimensat(SB) GLOBL ·libc_utimensat_trampoline_addr(SB), RODATA, $8 DATA ·libc_utimensat_trampoline_addr(SB)/8, $libc_utimensat_trampoline<>(SB) + +TEXT libc_pledge_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_pledge(SB) +GLOBL ·libc_pledge_trampoline_addr(SB), RODATA, $8 +DATA ·libc_pledge_trampoline_addr(SB)/8, $libc_pledge_trampoline<>(SB) + +TEXT libc_unveil_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_unveil(SB) +GLOBL ·libc_unveil_trampoline_addr(SB), RODATA, $8 +DATA ·libc_unveil_trampoline_addr(SB)/8, $libc_unveil_trampoline<>(SB) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go index b401894..829b87f 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build solaris && amd64 -// +build solaris,amd64 package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go index 1d8fe1d..94f0112 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build zos && s390x -// +build zos,s390x package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go index 55e0484..3a58ae8 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go @@ -2,7 +2,6 @@ // Code generated by the command above; DO NOT EDIT. //go:build 386 && openbsd -// +build 386,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go index d2243cf..dcb7a0e 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; DO NOT EDIT. //go:build amd64 && openbsd -// +build amd64,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go index 82dc51b..db5a7bf 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go @@ -2,7 +2,6 @@ // Code generated by the command above; DO NOT EDIT. //go:build arm && openbsd -// +build arm,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go index cbdda1a..7be575a 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; DO NOT EDIT. //go:build arm64 && openbsd -// +build arm64,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_mips64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_mips64.go index f55eae1..d6e3174 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_mips64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_mips64.go @@ -2,7 +2,6 @@ // Code generated by the command above; DO NOT EDIT. //go:build mips64 && openbsd -// +build mips64,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go index e440544..ee97157 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go @@ -2,7 +2,6 @@ // Code generated by the command above; DO NOT EDIT. //go:build ppc64 && openbsd -// +build ppc64,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go index a0db82f..35c3b91 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go @@ -2,7 +2,6 @@ // Code generated by the command above; DO NOT EDIT. //go:build riscv64 && openbsd -// +build riscv64,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go index f8298ff..5edda76 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && darwin -// +build amd64,darwin package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go index 5eb433b..0dc9e8b 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm64 && darwin -// +build arm64,darwin package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go index 703675c..308ddf3 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && dragonfly -// +build amd64,dragonfly package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go index 4e0d961..418664e 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build 386 && freebsd -// +build 386,freebsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go index 01636b8..34d0b86 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && freebsd -// +build amd64,freebsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go index ad99bc1..b71cf45 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm && freebsd -// +build arm,freebsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go index 89dcc42..e32df1c 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm64 && freebsd -// +build arm64,freebsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go index ee37aaa..15ad611 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build riscv64 && freebsd -// +build riscv64,freebsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go index 9862853..fcf3ecb 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build 386 && linux -// +build 386,linux package unix @@ -448,4 +447,5 @@ const ( SYS_FUTEX_WAITV = 449 SYS_SET_MEMPOLICY_HOME_NODE = 450 SYS_CACHESTAT = 451 + SYS_FCHMODAT2 = 452 ) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go index 8901f0f..f56dc25 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && linux -// +build amd64,linux package unix @@ -370,4 +369,6 @@ const ( SYS_FUTEX_WAITV = 449 SYS_SET_MEMPOLICY_HOME_NODE = 450 SYS_CACHESTAT = 451 + SYS_FCHMODAT2 = 452 + SYS_MAP_SHADOW_STACK = 453 ) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go index 6902c37..974bf24 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm && linux -// +build arm,linux package unix @@ -412,4 +411,5 @@ const ( SYS_FUTEX_WAITV = 449 SYS_SET_MEMPOLICY_HOME_NODE = 450 SYS_CACHESTAT = 451 + SYS_FCHMODAT2 = 452 ) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go index a6d3dff..39a2739 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm64 && linux -// +build arm64,linux package unix @@ -315,4 +314,5 @@ const ( SYS_FUTEX_WAITV = 449 SYS_SET_MEMPOLICY_HOME_NODE = 450 SYS_CACHESTAT = 451 + SYS_FCHMODAT2 = 452 ) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go index b18f3f7..cf9c9d7 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build loong64 && linux -// +build loong64,linux package unix @@ -309,4 +308,5 @@ const ( SYS_FUTEX_WAITV = 449 SYS_SET_MEMPOLICY_HOME_NODE = 450 SYS_CACHESTAT = 451 + SYS_FCHMODAT2 = 452 ) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go index 0302e5e..10b7362 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mips && linux -// +build mips,linux package unix @@ -432,4 +431,5 @@ const ( SYS_FUTEX_WAITV = 4449 SYS_SET_MEMPOLICY_HOME_NODE = 4450 SYS_CACHESTAT = 4451 + SYS_FCHMODAT2 = 4452 ) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go index 6693ba4..cd4d8b4 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mips64 && linux -// +build mips64,linux package unix @@ -362,4 +361,5 @@ const ( SYS_FUTEX_WAITV = 5449 SYS_SET_MEMPOLICY_HOME_NODE = 5450 SYS_CACHESTAT = 5451 + SYS_FCHMODAT2 = 5452 ) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go index fd93f49..2c0efca 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mips64le && linux -// +build mips64le,linux package unix @@ -362,4 +361,5 @@ const ( SYS_FUTEX_WAITV = 5449 SYS_SET_MEMPOLICY_HOME_NODE = 5450 SYS_CACHESTAT = 5451 + SYS_FCHMODAT2 = 5452 ) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go index 760ddca..a72e31d 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mipsle && linux -// +build mipsle,linux package unix @@ -432,4 +431,5 @@ const ( SYS_FUTEX_WAITV = 4449 SYS_SET_MEMPOLICY_HOME_NODE = 4450 SYS_CACHESTAT = 4451 + SYS_FCHMODAT2 = 4452 ) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go index cff2b25..c7d1e37 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build ppc && linux -// +build ppc,linux package unix @@ -439,4 +438,5 @@ const ( SYS_FUTEX_WAITV = 449 SYS_SET_MEMPOLICY_HOME_NODE = 450 SYS_CACHESTAT = 451 + SYS_FCHMODAT2 = 452 ) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go index a4b2405..f4d4838 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build ppc64 && linux -// +build ppc64,linux package unix @@ -411,4 +410,5 @@ const ( SYS_FUTEX_WAITV = 449 SYS_SET_MEMPOLICY_HOME_NODE = 450 SYS_CACHESTAT = 451 + SYS_FCHMODAT2 = 452 ) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go index aca54b4..b64f0e5 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build ppc64le && linux -// +build ppc64le,linux package unix @@ -411,4 +410,5 @@ const ( SYS_FUTEX_WAITV = 449 SYS_SET_MEMPOLICY_HOME_NODE = 450 SYS_CACHESTAT = 451 + SYS_FCHMODAT2 = 452 ) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go index 9d1738d..9571119 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build riscv64 && linux -// +build riscv64,linux package unix @@ -316,4 +315,5 @@ const ( SYS_FUTEX_WAITV = 449 SYS_SET_MEMPOLICY_HOME_NODE = 450 SYS_CACHESTAT = 451 + SYS_FCHMODAT2 = 452 ) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go index 022878d..f94e943 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build s390x && linux -// +build s390x,linux package unix @@ -377,4 +376,5 @@ const ( SYS_FUTEX_WAITV = 449 SYS_SET_MEMPOLICY_HOME_NODE = 450 SYS_CACHESTAT = 451 + SYS_FCHMODAT2 = 452 ) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go index 4100a76..ba0c2bc 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build sparc64 && linux -// +build sparc64,linux package unix @@ -390,4 +389,5 @@ const ( SYS_FUTEX_WAITV = 449 SYS_SET_MEMPOLICY_HOME_NODE = 450 SYS_CACHESTAT = 451 + SYS_FCHMODAT2 = 452 ) diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go index 3a6699e..b2aa8cd 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build 386 && netbsd -// +build 386,netbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go index 5677cd4..524a1b1 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && netbsd -// +build amd64,netbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go index e784cb6..d59b943 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm && netbsd -// +build arm,netbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go index bd4952e..31e771d 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; DO NOT EDIT. //go:build arm64 && netbsd -// +build arm64,netbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go index 5977338..9fd77c6 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build 386 && openbsd -// +build 386,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go index 16af291..af10af2 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && openbsd -// +build amd64,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go index f59b18a..cc2028a 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm && openbsd -// +build arm,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go index 721ef59..c06dd44 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm64 && openbsd -// +build arm64,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go index 01c43a0..9ddbf3e 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mips64 && openbsd -// +build mips64,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_ppc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_ppc64.go index f258cfa..19a6ee4 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_ppc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_ppc64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build ppc64 && openbsd -// +build ppc64,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_riscv64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_riscv64.go index 07919e0..05192a7 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_riscv64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_openbsd_riscv64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build riscv64 && openbsd -// +build riscv64,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_zos_s390x.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_zos_s390x.go index 073daad..b2e3085 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_zos_s390x.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/zsysnum_zos_s390x.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build zos && s390x -// +build zos,s390x package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go index 7a8161c..3e6d57c 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build ppc && aix -// +build ppc,aix package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go index 07ed733..3a219bd 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build ppc64 && aix -// +build ppc64,aix package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go index 690cefc..091d107 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && darwin -// +build amd64,darwin package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go index 5bffc10..28ff4ef 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm64 && darwin -// +build arm64,darwin package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go index d0ba8e9..30e405b 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && dragonfly -// +build amd64,dragonfly package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go index 29dc483..6cbd094 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build 386 && freebsd -// +build 386,freebsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go index 0a89b28..7c03b6e 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && freebsd -// +build amd64,freebsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go index c8666bb..422107e 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm && freebsd -// +build arm,freebsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go index 88fb48a..505a12a 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm64 && freebsd -// +build arm64,freebsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go index 698dc97..cc986c7 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build riscv64 && freebsd -// +build riscv64,freebsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux.go index 18aa70b..997bcd5 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux.go @@ -1,7 +1,6 @@ // Code generated by mkmerge; DO NOT EDIT. //go:build linux -// +build linux package unix @@ -5883,3 +5882,15 @@ type SchedAttr struct { } const SizeofSchedAttr = 0x38 + +type Cachestat_t struct { + Cache uint64 + Dirty uint64 + Writeback uint64 + Evicted uint64 + Recently_evicted uint64 +} +type CachestatRange struct { + Off uint64 + Len uint64 +} diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_386.go index 6d8acbc..438a30a 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_386.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build 386 && linux -// +build 386,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go index 59293c6..adceca3 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && linux -// +build amd64,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go index 40cfa38..eeaa00a 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm && linux -// +build arm,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go index 055bc42..6739aa9 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm64 && linux -// +build arm64,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go index f28affb..9920ef6 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build loong64 && linux -// +build loong64,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go index 9d71e7c..2923b79 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mips && linux -// +build mips,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go index fd5ccd3..ce2750e 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mips64 && linux -// +build mips64,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go index 7704de7..3038811 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mips64le && linux -// +build mips64le,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go index df00b87..efc6fed 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mipsle && linux -// +build mipsle,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go index 0942840..9a654b7 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build ppc && linux -// +build ppc,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go index 0348743..40d358e 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build ppc64 && linux -// +build ppc64,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go index bad0670..148c6ce 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build ppc64le && linux -// +build ppc64le,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go index 1b4c97c..72ba815 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build riscv64 && linux -// +build riscv64,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go index aa268d0..71e7655 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build s390x && linux -// +build s390x,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go index 444045b..4abbdb9 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build sparc64 && linux -// +build sparc64,linux package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go index 9bc4c8f..f22e794 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build 386 && netbsd -// +build 386,netbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go index bb05f65..066a7d8 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && netbsd -// +build amd64,netbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go index db40e3a..439548e 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm && netbsd -// +build arm,netbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go index 1112115..16085d3 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm64 && netbsd -// +build arm64,netbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go index 26eba23..afd13a3 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build 386 && openbsd -// +build 386,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go index 5a54798..5d97f1f 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && openbsd -// +build amd64,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go index be58c4e..34871cd 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm && openbsd -// +build arm,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go index 5233826..5911bce 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm64 && openbsd -// +build arm64,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go index 605cfdb..e4f24f3 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mips64 && openbsd -// +build mips64,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_ppc64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_ppc64.go index d6724c0..ca50a79 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_ppc64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_ppc64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build ppc64 && openbsd -// +build ppc64,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go index ddfd27a..d7d7f79 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build riscv64 && openbsd -// +build riscv64,openbsd package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go index 0400747..1416057 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go @@ -2,7 +2,6 @@ // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && solaris -// +build amd64,solaris package unix diff --git a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go index aec1efc..54f31be 100644 --- a/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go +++ b/src/os-conf-acceptance-tests/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build zos && s390x -// +build zos,s390x // Hand edited based on ztypes_linux_s390x.go // TODO: auto-generate. diff --git a/src/os-conf-acceptance-tests/vendor/modules.txt b/src/os-conf-acceptance-tests/vendor/modules.txt index 0cf2d2a..57e7e74 100644 --- a/src/os-conf-acceptance-tests/vendor/modules.txt +++ b/src/os-conf-acceptance-tests/vendor/modules.txt @@ -1,11 +1,11 @@ -# github.com/go-logr/logr v1.2.4 -## explicit; go 1.16 +# github.com/go-logr/logr v1.3.0 +## explicit; go 1.18 github.com/go-logr/logr github.com/go-logr/logr/funcr # github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 ## explicit; go 1.13 github.com/go-task/slim-sprig -# github.com/google/go-cmp v0.5.9 +# github.com/google/go-cmp v0.6.0 ## explicit; go 1.13 github.com/google/go-cmp/cmp github.com/google/go-cmp/cmp/internal/diff @@ -15,7 +15,7 @@ github.com/google/go-cmp/cmp/internal/value # github.com/google/pprof v0.0.0-20231101202521-4ca4178f5c7a ## explicit; go 1.19 github.com/google/pprof/profile -# github.com/onsi/ginkgo/v2 v2.13.0 +# github.com/onsi/ginkgo/v2 v2.13.1 ## explicit; go 1.18 github.com/onsi/ginkgo/v2 github.com/onsi/ginkgo/v2/config @@ -37,7 +37,7 @@ github.com/onsi/ginkgo/v2/internal/parallel_support github.com/onsi/ginkgo/v2/internal/testingtproxy github.com/onsi/ginkgo/v2/reporters github.com/onsi/ginkgo/v2/types -# github.com/onsi/gomega v1.27.10 +# github.com/onsi/gomega v1.29.0 ## explicit; go 1.18 github.com/onsi/gomega github.com/onsi/gomega/format @@ -51,17 +51,17 @@ github.com/onsi/gomega/matchers/support/goraph/edge github.com/onsi/gomega/matchers/support/goraph/node github.com/onsi/gomega/matchers/support/goraph/util github.com/onsi/gomega/types -# golang.org/x/net v0.16.0 -## explicit; go 1.17 +# golang.org/x/net v0.18.0 +## explicit; go 1.18 golang.org/x/net/context golang.org/x/net/html golang.org/x/net/html/atom golang.org/x/net/html/charset -# golang.org/x/sys v0.13.0 -## explicit; go 1.17 +# golang.org/x/sys v0.14.0 +## explicit; go 1.18 golang.org/x/sys/unix -# golang.org/x/text v0.13.0 -## explicit; go 1.17 +# golang.org/x/text v0.14.0 +## explicit; go 1.18 golang.org/x/text/encoding golang.org/x/text/encoding/charmap golang.org/x/text/encoding/htmlindex @@ -79,7 +79,7 @@ golang.org/x/text/internal/utf8internal golang.org/x/text/language golang.org/x/text/runes golang.org/x/text/transform -# golang.org/x/tools v0.14.0 +# golang.org/x/tools v0.15.0 ## explicit; go 1.18 golang.org/x/tools/go/ast/inspector golang.org/x/tools/internal/typeparams