Merge pull request #40917 from thaJeztah/bump_golang_sys
vendor: golang.org/x/sys 5c8b2ff67527cb88b770f693cebf3799036d8bc0
This commit is contained in:
commit
99b5935fd8
47 changed files with 12987 additions and 90503 deletions
|
@ -14,7 +14,7 @@ github.com/mattn/go-shellwords 36a9b3c57cb5caa559ff63fb7e9b
|
|||
github.com/sirupsen/logrus 60c74ad9be0d874af0ab0daef6ab07c5c5911f0d # v1.6.0
|
||||
github.com/tchap/go-patricia a7f0089c6f496e8e70402f61733606daa326cac5 # v2.3.0
|
||||
golang.org/x/net 0de0cce0169b09b364e001f108dc0399ea8630b3
|
||||
golang.org/x/sys d5e6a3e2c0ae16fc7480523ebcb7fd4dd3215489
|
||||
golang.org/x/sys 5c8b2ff67527cb88b770f693cebf3799036d8bc0
|
||||
github.com/docker/go-units 519db1ee28dcc9fd2474ae59fca29a810482bfb1 # v0.4.0
|
||||
github.com/docker/go-connections 7395e3f8aa162843a74ed6d48e79627d9792ac55 # v0.4.0
|
||||
github.com/moby/sys 6154f11e6840c0d6b0dbb23f4125a6134b3013c9 # mountinfo/v0.1.3
|
||||
|
|
9
vendor/golang.org/x/sys/cpu/cpu.go
generated
vendored
9
vendor/golang.org/x/sys/cpu/cpu.go
generated
vendored
|
@ -114,6 +114,15 @@ var ARM struct {
|
|||
_ CacheLinePad
|
||||
}
|
||||
|
||||
// MIPS64X contains the supported CPU features of the current mips64/mips64le
|
||||
// platforms. If the current platform is not mips64/mips64le or the current
|
||||
// operating system is not Linux then all feature flags are false.
|
||||
var MIPS64X struct {
|
||||
_ CacheLinePad
|
||||
HasMSA bool // MIPS SIMD architecture
|
||||
_ CacheLinePad
|
||||
}
|
||||
|
||||
// PPC64 contains the supported CPU features of the current ppc64/ppc64le platforms.
|
||||
// If the current platform is not ppc64/ppc64le then all feature flags are false.
|
||||
//
|
||||
|
|
22
vendor/golang.org/x/sys/cpu/cpu_linux_mips64x.go
generated
vendored
Normal file
22
vendor/golang.org/x/sys/cpu/cpu_linux_mips64x.go
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
// Copyright 2020 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build mips64 mips64le
|
||||
|
||||
package cpu
|
||||
|
||||
// HWCAP bits. These are exposed by the Linux kernel 5.4.
|
||||
const (
|
||||
// CPU features
|
||||
hwcap_MIPS_MSA = 1 << 1
|
||||
)
|
||||
|
||||
func doinit() {
|
||||
// HWCAP feature bits
|
||||
MIPS64X.HasMSA = isSet(hwCap, hwcap_MIPS_MSA)
|
||||
}
|
||||
|
||||
func isSet(hwc uint, value uint) bool {
|
||||
return hwc&value != 0
|
||||
}
|
2
vendor/golang.org/x/sys/cpu/cpu_linux_noinit.go
generated
vendored
2
vendor/golang.org/x/sys/cpu/cpu_linux_noinit.go
generated
vendored
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build linux,!arm,!arm64,!ppc64,!ppc64le,!s390x
|
||||
// +build linux,!arm,!arm64,!mips64,!mips64le,!ppc64,!ppc64le,!s390x
|
||||
|
||||
package cpu
|
||||
|
||||
|
|
11
vendor/golang.org/x/sys/unix/README.md
generated
vendored
11
vendor/golang.org/x/sys/unix/README.md
generated
vendored
|
@ -149,6 +149,17 @@ To add a constant, add the header that includes it to the appropriate variable.
|
|||
Then, edit the regex (if necessary) to match the desired constant. Avoid making
|
||||
the regex too broad to avoid matching unintended constants.
|
||||
|
||||
### mkmerge.go
|
||||
|
||||
This program is used to extract duplicate const, func, and type declarations
|
||||
from the generated architecture-specific files listed below, and merge these
|
||||
into a common file for each OS.
|
||||
|
||||
The merge is performed in the following steps:
|
||||
1. Construct the set of common code that is idential in all architecture-specific files.
|
||||
2. Write this common code to the merged file.
|
||||
3. Remove the common code from all architecture-specific files.
|
||||
|
||||
|
||||
## Generated files
|
||||
|
||||
|
|
2453
vendor/golang.org/x/sys/unix/zerrors_linux.go
generated
vendored
Normal file
2453
vendor/golang.org/x/sys/unix/zerrors_linux.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
3359
vendor/golang.org/x/sys/unix/zerrors_linux_386.go
generated
vendored
3359
vendor/golang.org/x/sys/unix/zerrors_linux_386.go
generated
vendored
File diff suppressed because it is too large
Load diff
3359
vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
generated
vendored
3359
vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
generated
vendored
File diff suppressed because it is too large
Load diff
3371
vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
generated
vendored
3371
vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
generated
vendored
File diff suppressed because it is too large
Load diff
3345
vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
generated
vendored
3345
vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
generated
vendored
File diff suppressed because it is too large
Load diff
3363
vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
generated
vendored
3363
vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
generated
vendored
File diff suppressed because it is too large
Load diff
3363
vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
generated
vendored
3363
vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
generated
vendored
File diff suppressed because it is too large
Load diff
3363
vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
generated
vendored
3363
vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
generated
vendored
File diff suppressed because it is too large
Load diff
3363
vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
generated
vendored
3363
vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
generated
vendored
File diff suppressed because it is too large
Load diff
3483
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
generated
vendored
3483
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
generated
vendored
File diff suppressed because it is too large
Load diff
3483
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
generated
vendored
3483
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
generated
vendored
File diff suppressed because it is too large
Load diff
3333
vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
generated
vendored
3333
vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
generated
vendored
File diff suppressed because it is too large
Load diff
3479
vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
generated
vendored
3479
vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
generated
vendored
File diff suppressed because it is too large
Load diff
3461
vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
generated
vendored
3461
vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
generated
vendored
File diff suppressed because it is too large
Load diff
1825
vendor/golang.org/x/sys/unix/zsyscall_linux.go
generated
vendored
Normal file
1825
vendor/golang.org/x/sys/unix/zsyscall_linux.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
generated
vendored
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
generated
vendored
File diff suppressed because it is too large
Load diff
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go
generated
vendored
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go
generated
vendored
File diff suppressed because it is too large
Load diff
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
generated
vendored
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
generated
vendored
File diff suppressed because it is too large
Load diff
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
generated
vendored
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
generated
vendored
File diff suppressed because it is too large
Load diff
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go
generated
vendored
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go
generated
vendored
File diff suppressed because it is too large
Load diff
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go
generated
vendored
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go
generated
vendored
File diff suppressed because it is too large
Load diff
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go
generated
vendored
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go
generated
vendored
File diff suppressed because it is too large
Load diff
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go
generated
vendored
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go
generated
vendored
File diff suppressed because it is too large
Load diff
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go
generated
vendored
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go
generated
vendored
File diff suppressed because it is too large
Load diff
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go
generated
vendored
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go
generated
vendored
File diff suppressed because it is too large
Load diff
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go
generated
vendored
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go
generated
vendored
File diff suppressed because it is too large
Load diff
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
generated
vendored
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
generated
vendored
File diff suppressed because it is too large
Load diff
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go
generated
vendored
1815
vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go
generated
vendored
File diff suppressed because it is too large
Load diff
2274
vendor/golang.org/x/sys/unix/ztypes_linux.go
generated
vendored
Normal file
2274
vendor/golang.org/x/sys/unix/ztypes_linux.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
2244
vendor/golang.org/x/sys/unix/ztypes_linux_386.go
generated
vendored
2244
vendor/golang.org/x/sys/unix/ztypes_linux_386.go
generated
vendored
File diff suppressed because it is too large
Load diff
2244
vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
generated
vendored
2244
vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
generated
vendored
File diff suppressed because it is too large
Load diff
2244
vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
generated
vendored
2244
vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
generated
vendored
File diff suppressed because it is too large
Load diff
2244
vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
generated
vendored
2244
vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
generated
vendored
File diff suppressed because it is too large
Load diff
2244
vendor/golang.org/x/sys/unix/ztypes_linux_mips.go
generated
vendored
2244
vendor/golang.org/x/sys/unix/ztypes_linux_mips.go
generated
vendored
File diff suppressed because it is too large
Load diff
2244
vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
generated
vendored
2244
vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
generated
vendored
File diff suppressed because it is too large
Load diff
2244
vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
generated
vendored
2244
vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
generated
vendored
File diff suppressed because it is too large
Load diff
2244
vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
generated
vendored
2244
vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
generated
vendored
File diff suppressed because it is too large
Load diff
2244
vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
generated
vendored
2244
vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
generated
vendored
File diff suppressed because it is too large
Load diff
2244
vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
generated
vendored
2244
vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
generated
vendored
File diff suppressed because it is too large
Load diff
2244
vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
generated
vendored
2244
vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
generated
vendored
File diff suppressed because it is too large
Load diff
2244
vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
generated
vendored
2244
vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
generated
vendored
File diff suppressed because it is too large
Load diff
2244
vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go
generated
vendored
2244
vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go
generated
vendored
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue