mirror of
https://github.com/containers/skopeo.git
synced 2025-06-28 07:37:41 +00:00
Merge pull request #2067 from containers/renovate/golang.org-x-term-0.x
fix(deps): update module golang.org/x/term to v0.11.0
This commit is contained in:
commit
2dd282842f
4
go.mod
4
go.mod
@ -17,7 +17,7 @@ require (
|
|||||||
github.com/stretchr/testify v1.8.4
|
github.com/stretchr/testify v1.8.4
|
||||||
github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635
|
github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635
|
||||||
golang.org/x/exp v0.0.0-20230801115018-d63ba01acd4b
|
golang.org/x/exp v0.0.0-20230801115018-d63ba01acd4b
|
||||||
golang.org/x/term v0.10.0
|
golang.org/x/term v0.11.0
|
||||||
gopkg.in/yaml.v3 v3.0.1
|
gopkg.in/yaml.v3 v3.0.1
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -120,7 +120,7 @@ require (
|
|||||||
golang.org/x/net v0.12.0 // indirect
|
golang.org/x/net v0.12.0 // indirect
|
||||||
golang.org/x/oauth2 v0.10.0 // indirect
|
golang.org/x/oauth2 v0.10.0 // indirect
|
||||||
golang.org/x/sync v0.3.0 // indirect
|
golang.org/x/sync v0.3.0 // indirect
|
||||||
golang.org/x/sys v0.10.0 // indirect
|
golang.org/x/sys v0.11.0 // indirect
|
||||||
golang.org/x/text v0.11.0 // indirect
|
golang.org/x/text v0.11.0 // indirect
|
||||||
golang.org/x/tools v0.9.3 // indirect
|
golang.org/x/tools v0.9.3 // indirect
|
||||||
google.golang.org/appengine v1.6.7 // indirect
|
google.golang.org/appengine v1.6.7 // indirect
|
||||||
|
8
go.sum
8
go.sum
@ -473,11 +473,11 @@ golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7w
|
|||||||
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA=
|
golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM=
|
||||||
golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||||
golang.org/x/term v0.10.0 h1:3R7pNqamzBraeqj/Tj8qt1aQ2HpmlC+Cx/qL/7hn4/c=
|
golang.org/x/term v0.11.0 h1:F9tnn/DA/Im8nCwm+fX+1/eBwi4qFjRT++MhtVC4ZX0=
|
||||||
golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o=
|
golang.org/x/term v0.11.0/go.mod h1:zC9APTIj3jG3FdV/Ons+XE1riIZXG4aZ4GTHiPZJPIU=
|
||||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||||
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
|
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
|
||||||
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||||
|
2
vendor/golang.org/x/sys/unix/mkerrors.sh
generated
vendored
2
vendor/golang.org/x/sys/unix/mkerrors.sh
generated
vendored
@ -624,7 +624,7 @@ ccflags="$@"
|
|||||||
$2 ~ /^MEM/ ||
|
$2 ~ /^MEM/ ||
|
||||||
$2 ~ /^WG/ ||
|
$2 ~ /^WG/ ||
|
||||||
$2 ~ /^FIB_RULE_/ ||
|
$2 ~ /^FIB_RULE_/ ||
|
||||||
$2 ~ /^BLK[A-Z]*(GET$|SET$|BUF$|PART$|SIZE)/ {printf("\t%s = C.%s\n", $2, $2)}
|
$2 ~ /^BLK[A-Z]*(GET$|SET$|BUF$|PART$|SIZE|IOMIN$|IOOPT$|ALIGNOFF$|DISCARD|ROTATIONAL$|ZEROOUT$|GETDISKSEQ$)/ {printf("\t%s = C.%s\n", $2, $2)}
|
||||||
$2 ~ /^__WCOREFLAG$/ {next}
|
$2 ~ /^__WCOREFLAG$/ {next}
|
||||||
$2 ~ /^__W[A-Z0-9]+$/ {printf("\t%s = C.%s\n", substr($2,3), $2)}
|
$2 ~ /^__W[A-Z0-9]+$/ {printf("\t%s = C.%s\n", substr($2,3), $2)}
|
||||||
|
|
||||||
|
14
vendor/golang.org/x/sys/unix/mmap_nomremap.go
generated
vendored
Normal file
14
vendor/golang.org/x/sys/unix/mmap_nomremap.go
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
// Copyright 2023 The Go Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
//go:build aix || darwin || dragonfly || freebsd || openbsd || solaris
|
||||||
|
// +build aix darwin dragonfly freebsd openbsd solaris
|
||||||
|
|
||||||
|
package unix
|
||||||
|
|
||||||
|
var mapper = &mmapper{
|
||||||
|
active: make(map[*byte][]byte),
|
||||||
|
mmap: mmap,
|
||||||
|
munmap: munmap,
|
||||||
|
}
|
21
vendor/golang.org/x/sys/unix/mremap.go
generated
vendored
21
vendor/golang.org/x/sys/unix/mremap.go
generated
vendored
@ -2,8 +2,8 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
//go:build linux
|
//go:build linux || netbsd
|
||||||
// +build linux
|
// +build linux netbsd
|
||||||
|
|
||||||
package unix
|
package unix
|
||||||
|
|
||||||
@ -14,8 +14,17 @@ type mremapMmapper struct {
|
|||||||
mremap func(oldaddr uintptr, oldlength uintptr, newlength uintptr, flags int, newaddr uintptr) (xaddr uintptr, err error)
|
mremap func(oldaddr uintptr, oldlength uintptr, newlength uintptr, flags int, newaddr uintptr) (xaddr uintptr, err error)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var mapper = &mremapMmapper{
|
||||||
|
mmapper: mmapper{
|
||||||
|
active: make(map[*byte][]byte),
|
||||||
|
mmap: mmap,
|
||||||
|
munmap: munmap,
|
||||||
|
},
|
||||||
|
mremap: mremap,
|
||||||
|
}
|
||||||
|
|
||||||
func (m *mremapMmapper) Mremap(oldData []byte, newLength int, flags int) (data []byte, err error) {
|
func (m *mremapMmapper) Mremap(oldData []byte, newLength int, flags int) (data []byte, err error) {
|
||||||
if newLength <= 0 || len(oldData) == 0 || len(oldData) != cap(oldData) || flags&MREMAP_FIXED != 0 {
|
if newLength <= 0 || len(oldData) == 0 || len(oldData) != cap(oldData) || flags&mremapFixed != 0 {
|
||||||
return nil, EINVAL
|
return nil, EINVAL
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -32,9 +41,13 @@ func (m *mremapMmapper) Mremap(oldData []byte, newLength int, flags int) (data [
|
|||||||
}
|
}
|
||||||
bNew := unsafe.Slice((*byte)(unsafe.Pointer(newAddr)), newLength)
|
bNew := unsafe.Slice((*byte)(unsafe.Pointer(newAddr)), newLength)
|
||||||
pNew := &bNew[cap(bNew)-1]
|
pNew := &bNew[cap(bNew)-1]
|
||||||
if flags&MREMAP_DONTUNMAP == 0 {
|
if flags&mremapDontunmap == 0 {
|
||||||
delete(m.active, pOld)
|
delete(m.active, pOld)
|
||||||
}
|
}
|
||||||
m.active[pNew] = bNew
|
m.active[pNew] = bNew
|
||||||
return bNew, nil
|
return bNew, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func Mremap(oldData []byte, newLength int, flags int) (data []byte, err error) {
|
||||||
|
return mapper.Mremap(oldData, newLength, flags)
|
||||||
|
}
|
||||||
|
15
vendor/golang.org/x/sys/unix/syscall_aix.go
generated
vendored
15
vendor/golang.org/x/sys/unix/syscall_aix.go
generated
vendored
@ -535,21 +535,6 @@ func Fsync(fd int) error {
|
|||||||
//sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error) = nsendmsg
|
//sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error) = nsendmsg
|
||||||
|
|
||||||
//sys munmap(addr uintptr, length uintptr) (err error)
|
//sys munmap(addr uintptr, length uintptr) (err error)
|
||||||
|
|
||||||
var mapper = &mmapper{
|
|
||||||
active: make(map[*byte][]byte),
|
|
||||||
mmap: mmap,
|
|
||||||
munmap: munmap,
|
|
||||||
}
|
|
||||||
|
|
||||||
func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
|
|
||||||
return mapper.Mmap(fd, offset, length, prot, flags)
|
|
||||||
}
|
|
||||||
|
|
||||||
func Munmap(b []byte) (err error) {
|
|
||||||
return mapper.Munmap(b)
|
|
||||||
}
|
|
||||||
|
|
||||||
//sys Madvise(b []byte, advice int) (err error)
|
//sys Madvise(b []byte, advice int) (err error)
|
||||||
//sys Mprotect(b []byte, prot int) (err error)
|
//sys Mprotect(b []byte, prot int) (err error)
|
||||||
//sys Mlock(b []byte) (err error)
|
//sys Mlock(b []byte) (err error)
|
||||||
|
14
vendor/golang.org/x/sys/unix/syscall_bsd.go
generated
vendored
14
vendor/golang.org/x/sys/unix/syscall_bsd.go
generated
vendored
@ -601,20 +601,6 @@ func Poll(fds []PollFd, timeout int) (n int, err error) {
|
|||||||
// Gethostuuid(uuid *byte, timeout *Timespec) (err error)
|
// Gethostuuid(uuid *byte, timeout *Timespec) (err error)
|
||||||
// Ptrace(req int, pid int, addr uintptr, data int) (ret uintptr, err error)
|
// Ptrace(req int, pid int, addr uintptr, data int) (ret uintptr, err error)
|
||||||
|
|
||||||
var mapper = &mmapper{
|
|
||||||
active: make(map[*byte][]byte),
|
|
||||||
mmap: mmap,
|
|
||||||
munmap: munmap,
|
|
||||||
}
|
|
||||||
|
|
||||||
func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
|
|
||||||
return mapper.Mmap(fd, offset, length, prot, flags)
|
|
||||||
}
|
|
||||||
|
|
||||||
func Munmap(b []byte) (err error) {
|
|
||||||
return mapper.Munmap(b)
|
|
||||||
}
|
|
||||||
|
|
||||||
//sys Madvise(b []byte, behav int) (err error)
|
//sys Madvise(b []byte, behav int) (err error)
|
||||||
//sys Mlock(b []byte) (err error)
|
//sys Mlock(b []byte) (err error)
|
||||||
//sys Mlockall(flags int) (err error)
|
//sys Mlockall(flags int) (err error)
|
||||||
|
6
vendor/golang.org/x/sys/unix/syscall_darwin.go
generated
vendored
6
vendor/golang.org/x/sys/unix/syscall_darwin.go
generated
vendored
@ -510,6 +510,7 @@ func SysctlKinfoProcSlice(name string, args ...int) ([]KinfoProc, error) {
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for {
|
||||||
// Find size.
|
// Find size.
|
||||||
n := uintptr(0)
|
n := uintptr(0)
|
||||||
if err := sysctl(mib, nil, &n, nil, 0); err != nil {
|
if err := sysctl(mib, nil, &n, nil, 0); err != nil {
|
||||||
@ -525,6 +526,10 @@ func SysctlKinfoProcSlice(name string, args ...int) ([]KinfoProc, error) {
|
|||||||
// Read into buffer of that size.
|
// Read into buffer of that size.
|
||||||
buf := make([]KinfoProc, n/SizeofKinfoProc)
|
buf := make([]KinfoProc, n/SizeofKinfoProc)
|
||||||
if err := sysctl(mib, (*byte)(unsafe.Pointer(&buf[0])), &n, nil, 0); err != nil {
|
if err := sysctl(mib, (*byte)(unsafe.Pointer(&buf[0])), &n, nil, 0); err != nil {
|
||||||
|
if err == ENOMEM {
|
||||||
|
// Process table grew. Try again.
|
||||||
|
continue
|
||||||
|
}
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if n%SizeofKinfoProc != 0 {
|
if n%SizeofKinfoProc != 0 {
|
||||||
@ -534,6 +539,7 @@ func SysctlKinfoProcSlice(name string, args ...int) ([]KinfoProc, error) {
|
|||||||
// The actual call may return less than the original reported required
|
// The actual call may return less than the original reported required
|
||||||
// size so ensure we deal with that.
|
// size so ensure we deal with that.
|
||||||
return buf[:n/SizeofKinfoProc], nil
|
return buf[:n/SizeofKinfoProc], nil
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//sys sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error)
|
//sys sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error)
|
||||||
|
63
vendor/golang.org/x/sys/unix/syscall_linux.go
generated
vendored
63
vendor/golang.org/x/sys/unix/syscall_linux.go
generated
vendored
@ -1885,7 +1885,7 @@ func Getpgrp() (pid int) {
|
|||||||
//sys PerfEventOpen(attr *PerfEventAttr, pid int, cpu int, groupFd int, flags int) (fd int, err error)
|
//sys PerfEventOpen(attr *PerfEventAttr, pid int, cpu int, groupFd int, flags int) (fd int, err error)
|
||||||
//sys PivotRoot(newroot string, putold string) (err error) = SYS_PIVOT_ROOT
|
//sys PivotRoot(newroot string, putold string) (err error) = SYS_PIVOT_ROOT
|
||||||
//sys Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error)
|
//sys Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error)
|
||||||
//sys Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) = SYS_PSELECT6
|
//sys pselect6(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *sigset_argpack) (n int, err error)
|
||||||
//sys read(fd int, p []byte) (n int, err error)
|
//sys read(fd int, p []byte) (n int, err error)
|
||||||
//sys Removexattr(path string, attr string) (err error)
|
//sys Removexattr(path string, attr string) (err error)
|
||||||
//sys Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error)
|
//sys Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error)
|
||||||
@ -2125,28 +2125,6 @@ func writevRacedetect(iovecs []Iovec, n int) {
|
|||||||
// mmap varies by architecture; see syscall_linux_*.go.
|
// mmap varies by architecture; see syscall_linux_*.go.
|
||||||
//sys munmap(addr uintptr, length uintptr) (err error)
|
//sys munmap(addr uintptr, length uintptr) (err error)
|
||||||
//sys mremap(oldaddr uintptr, oldlength uintptr, newlength uintptr, flags int, newaddr uintptr) (xaddr uintptr, err error)
|
//sys mremap(oldaddr uintptr, oldlength uintptr, newlength uintptr, flags int, newaddr uintptr) (xaddr uintptr, err error)
|
||||||
|
|
||||||
var mapper = &mremapMmapper{
|
|
||||||
mmapper: mmapper{
|
|
||||||
active: make(map[*byte][]byte),
|
|
||||||
mmap: mmap,
|
|
||||||
munmap: munmap,
|
|
||||||
},
|
|
||||||
mremap: mremap,
|
|
||||||
}
|
|
||||||
|
|
||||||
func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
|
|
||||||
return mapper.Mmap(fd, offset, length, prot, flags)
|
|
||||||
}
|
|
||||||
|
|
||||||
func Munmap(b []byte) (err error) {
|
|
||||||
return mapper.Munmap(b)
|
|
||||||
}
|
|
||||||
|
|
||||||
func Mremap(oldData []byte, newLength int, flags int) (data []byte, err error) {
|
|
||||||
return mapper.Mremap(oldData, newLength, flags)
|
|
||||||
}
|
|
||||||
|
|
||||||
//sys Madvise(b []byte, advice int) (err error)
|
//sys Madvise(b []byte, advice int) (err error)
|
||||||
//sys Mprotect(b []byte, prot int) (err error)
|
//sys Mprotect(b []byte, prot int) (err error)
|
||||||
//sys Mlock(b []byte) (err error)
|
//sys Mlock(b []byte) (err error)
|
||||||
@ -2155,6 +2133,12 @@ func Mremap(oldData []byte, newLength int, flags int) (data []byte, err error) {
|
|||||||
//sys Munlock(b []byte) (err error)
|
//sys Munlock(b []byte) (err error)
|
||||||
//sys Munlockall() (err error)
|
//sys Munlockall() (err error)
|
||||||
|
|
||||||
|
const (
|
||||||
|
mremapFixed = MREMAP_FIXED
|
||||||
|
mremapDontunmap = MREMAP_DONTUNMAP
|
||||||
|
mremapMaymove = MREMAP_MAYMOVE
|
||||||
|
)
|
||||||
|
|
||||||
// Vmsplice splices user pages from a slice of Iovecs into a pipe specified by fd,
|
// Vmsplice splices user pages from a slice of Iovecs into a pipe specified by fd,
|
||||||
// using the specified flags.
|
// using the specified flags.
|
||||||
func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) {
|
func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) {
|
||||||
@ -2454,6 +2438,39 @@ func Getresgid() (rgid, egid, sgid int) {
|
|||||||
return int(r), int(e), int(s)
|
return int(r), int(e), int(s)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Pselect is a wrapper around the Linux pselect6 system call.
|
||||||
|
// This version does not modify the timeout argument.
|
||||||
|
func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
|
||||||
|
// Per https://man7.org/linux/man-pages/man2/select.2.html#NOTES,
|
||||||
|
// The Linux pselect6() system call modifies its timeout argument.
|
||||||
|
// [Not modifying the argument] is the behavior required by POSIX.1-2001.
|
||||||
|
var mutableTimeout *Timespec
|
||||||
|
if timeout != nil {
|
||||||
|
mutableTimeout = new(Timespec)
|
||||||
|
*mutableTimeout = *timeout
|
||||||
|
}
|
||||||
|
|
||||||
|
// The final argument of the pselect6() system call is not a
|
||||||
|
// sigset_t * pointer, but is instead a structure
|
||||||
|
var kernelMask *sigset_argpack
|
||||||
|
if sigmask != nil {
|
||||||
|
wordBits := 32 << (^uintptr(0) >> 63) // see math.intSize
|
||||||
|
|
||||||
|
// A sigset stores one bit per signal,
|
||||||
|
// offset by 1 (because signal 0 does not exist).
|
||||||
|
// So the number of words needed is ⌈__C_NSIG - 1 / wordBits⌉.
|
||||||
|
sigsetWords := (_C__NSIG - 1 + wordBits - 1) / (wordBits)
|
||||||
|
|
||||||
|
sigsetBytes := uintptr(sigsetWords * (wordBits / 8))
|
||||||
|
kernelMask = &sigset_argpack{
|
||||||
|
ss: sigmask,
|
||||||
|
ssLen: sigsetBytes,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return pselect6(nfd, r, w, e, mutableTimeout, kernelMask)
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Unimplemented
|
* Unimplemented
|
||||||
*/
|
*/
|
||||||
|
2
vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
generated
vendored
2
vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
generated
vendored
@ -40,7 +40,7 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
|
|||||||
if timeout != nil {
|
if timeout != nil {
|
||||||
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
||||||
}
|
}
|
||||||
return Pselect(nfd, r, w, e, ts, nil)
|
return pselect6(nfd, r, w, e, ts, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
||||||
|
2
vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
generated
vendored
2
vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
generated
vendored
@ -33,7 +33,7 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
|
|||||||
if timeout != nil {
|
if timeout != nil {
|
||||||
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
||||||
}
|
}
|
||||||
return Pselect(nfd, r, w, e, ts, nil)
|
return pselect6(nfd, r, w, e, ts, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
||||||
|
2
vendor/golang.org/x/sys/unix/syscall_linux_loong64.go
generated
vendored
2
vendor/golang.org/x/sys/unix/syscall_linux_loong64.go
generated
vendored
@ -28,7 +28,7 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
|
|||||||
if timeout != nil {
|
if timeout != nil {
|
||||||
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
||||||
}
|
}
|
||||||
return Pselect(nfd, r, w, e, ts, nil)
|
return pselect6(nfd, r, w, e, ts, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
||||||
|
2
vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
generated
vendored
2
vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
generated
vendored
@ -31,7 +31,7 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
|
|||||||
if timeout != nil {
|
if timeout != nil {
|
||||||
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
||||||
}
|
}
|
||||||
return Pselect(nfd, r, w, e, ts, nil)
|
return pselect6(nfd, r, w, e, ts, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
||||||
|
13
vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
generated
vendored
13
vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
generated
vendored
@ -32,7 +32,7 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
|
|||||||
if timeout != nil {
|
if timeout != nil {
|
||||||
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
|
||||||
}
|
}
|
||||||
return Pselect(nfd, r, w, e, ts, nil)
|
return pselect6(nfd, r, w, e, ts, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
|
||||||
@ -177,3 +177,14 @@ func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error
|
|||||||
}
|
}
|
||||||
return kexecFileLoad(kernelFd, initrdFd, cmdlineLen, cmdline, flags)
|
return kexecFileLoad(kernelFd, initrdFd, cmdlineLen, cmdline, flags)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//sys riscvHWProbe(pairs []RISCVHWProbePairs, cpuCount uintptr, cpus *CPUSet, flags uint) (err error)
|
||||||
|
|
||||||
|
func RISCVHWProbe(pairs []RISCVHWProbePairs, set *CPUSet, flags uint) (err error) {
|
||||||
|
var setSize uintptr
|
||||||
|
|
||||||
|
if set != nil {
|
||||||
|
setSize = uintptr(unsafe.Sizeof(*set))
|
||||||
|
}
|
||||||
|
return riscvHWProbe(pairs, setSize, set, flags)
|
||||||
|
}
|
||||||
|
13
vendor/golang.org/x/sys/unix/syscall_netbsd.go
generated
vendored
13
vendor/golang.org/x/sys/unix/syscall_netbsd.go
generated
vendored
@ -360,6 +360,18 @@ func Statvfs(path string, buf *Statvfs_t) (err error) {
|
|||||||
//sys writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
|
//sys writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
|
||||||
//sys utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
|
//sys utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
|
||||||
|
|
||||||
|
const (
|
||||||
|
mremapFixed = MAP_FIXED
|
||||||
|
mremapDontunmap = 0
|
||||||
|
mremapMaymove = 0
|
||||||
|
)
|
||||||
|
|
||||||
|
//sys mremapNetBSD(oldp uintptr, oldsize uintptr, newp uintptr, newsize uintptr, flags int) (xaddr uintptr, err error) = SYS_MREMAP
|
||||||
|
|
||||||
|
func mremap(oldaddr uintptr, oldlength uintptr, newlength uintptr, flags int, newaddr uintptr) (uintptr, error) {
|
||||||
|
return mremapNetBSD(oldaddr, oldlength, newaddr, newlength, flags)
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Unimplemented
|
* Unimplemented
|
||||||
*/
|
*/
|
||||||
@ -564,7 +576,6 @@ func Statvfs(path string, buf *Statvfs_t) (err error) {
|
|||||||
// mq_timedreceive
|
// mq_timedreceive
|
||||||
// mq_timedsend
|
// mq_timedsend
|
||||||
// mq_unlink
|
// mq_unlink
|
||||||
// mremap
|
|
||||||
// msgget
|
// msgget
|
||||||
// msgrcv
|
// msgrcv
|
||||||
// msgsnd
|
// msgsnd
|
||||||
|
14
vendor/golang.org/x/sys/unix/syscall_solaris.go
generated
vendored
14
vendor/golang.org/x/sys/unix/syscall_solaris.go
generated
vendored
@ -716,20 +716,6 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
var mapper = &mmapper{
|
|
||||||
active: make(map[*byte][]byte),
|
|
||||||
mmap: mmap,
|
|
||||||
munmap: munmap,
|
|
||||||
}
|
|
||||||
|
|
||||||
func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
|
|
||||||
return mapper.Mmap(fd, offset, length, prot, flags)
|
|
||||||
}
|
|
||||||
|
|
||||||
func Munmap(b []byte) (err error) {
|
|
||||||
return mapper.Munmap(b)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Event Ports
|
// Event Ports
|
||||||
|
|
||||||
type fileObjCookie struct {
|
type fileObjCookie struct {
|
||||||
|
8
vendor/golang.org/x/sys/unix/syscall_unix.go
generated
vendored
8
vendor/golang.org/x/sys/unix/syscall_unix.go
generated
vendored
@ -147,6 +147,14 @@ func (m *mmapper) Munmap(data []byte) (err error) {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
|
||||||
|
return mapper.Mmap(fd, offset, length, prot, flags)
|
||||||
|
}
|
||||||
|
|
||||||
|
func Munmap(b []byte) (err error) {
|
||||||
|
return mapper.Munmap(b)
|
||||||
|
}
|
||||||
|
|
||||||
func Read(fd int, p []byte) (n int, err error) {
|
func Read(fd int, p []byte) (n int, err error) {
|
||||||
n, err = read(fd, p)
|
n, err = read(fd, p)
|
||||||
if raceenabled {
|
if raceenabled {
|
||||||
|
14
vendor/golang.org/x/sys/unix/syscall_zos_s390x.go
generated
vendored
14
vendor/golang.org/x/sys/unix/syscall_zos_s390x.go
generated
vendored
@ -285,25 +285,11 @@ func Close(fd int) (err error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
var mapper = &mmapper{
|
|
||||||
active: make(map[*byte][]byte),
|
|
||||||
mmap: mmap,
|
|
||||||
munmap: munmap,
|
|
||||||
}
|
|
||||||
|
|
||||||
// Dummy function: there are no semantics for Madvise on z/OS
|
// Dummy function: there are no semantics for Madvise on z/OS
|
||||||
func Madvise(b []byte, advice int) (err error) {
|
func Madvise(b []byte, advice int) (err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
|
|
||||||
return mapper.Mmap(fd, offset, length, prot, flags)
|
|
||||||
}
|
|
||||||
|
|
||||||
func Munmap(b []byte) (err error) {
|
|
||||||
return mapper.Munmap(b)
|
|
||||||
}
|
|
||||||
|
|
||||||
//sys Gethostname(buf []byte) (err error) = SYS___GETHOSTNAME_A
|
//sys Gethostname(buf []byte) (err error) = SYS___GETHOSTNAME_A
|
||||||
//sysnb Getegid() (egid int)
|
//sysnb Getegid() (egid int)
|
||||||
//sysnb Geteuid() (uid int)
|
//sysnb Geteuid() (uid int)
|
||||||
|
9
vendor/golang.org/x/sys/unix/zerrors_linux_386.go
generated
vendored
9
vendor/golang.org/x/sys/unix/zerrors_linux_386.go
generated
vendored
@ -27,22 +27,31 @@ const (
|
|||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x127a
|
||||||
BLKBSZGET = 0x80041270
|
BLKBSZGET = 0x80041270
|
||||||
BLKBSZSET = 0x40041271
|
BLKBSZSET = 0x40041271
|
||||||
|
BLKDISCARD = 0x1277
|
||||||
|
BLKDISCARDZEROES = 0x127c
|
||||||
BLKFLSBUF = 0x1261
|
BLKFLSBUF = 0x1261
|
||||||
BLKFRAGET = 0x1265
|
BLKFRAGET = 0x1265
|
||||||
BLKFRASET = 0x1264
|
BLKFRASET = 0x1264
|
||||||
|
BLKGETDISKSEQ = 0x80081280
|
||||||
BLKGETSIZE = 0x1260
|
BLKGETSIZE = 0x1260
|
||||||
BLKGETSIZE64 = 0x80041272
|
BLKGETSIZE64 = 0x80041272
|
||||||
|
BLKIOMIN = 0x1278
|
||||||
|
BLKIOOPT = 0x1279
|
||||||
BLKPBSZGET = 0x127b
|
BLKPBSZGET = 0x127b
|
||||||
BLKRAGET = 0x1263
|
BLKRAGET = 0x1263
|
||||||
BLKRASET = 0x1262
|
BLKRASET = 0x1262
|
||||||
BLKROGET = 0x125e
|
BLKROGET = 0x125e
|
||||||
BLKROSET = 0x125d
|
BLKROSET = 0x125d
|
||||||
|
BLKROTATIONAL = 0x127e
|
||||||
BLKRRPART = 0x125f
|
BLKRRPART = 0x125f
|
||||||
|
BLKSECDISCARD = 0x127d
|
||||||
BLKSECTGET = 0x1267
|
BLKSECTGET = 0x1267
|
||||||
BLKSECTSET = 0x1266
|
BLKSECTSET = 0x1266
|
||||||
BLKSSZGET = 0x1268
|
BLKSSZGET = 0x1268
|
||||||
|
BLKZEROOUT = 0x127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
9
vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
generated
vendored
9
vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
generated
vendored
@ -27,22 +27,31 @@ const (
|
|||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x127a
|
||||||
BLKBSZGET = 0x80081270
|
BLKBSZGET = 0x80081270
|
||||||
BLKBSZSET = 0x40081271
|
BLKBSZSET = 0x40081271
|
||||||
|
BLKDISCARD = 0x1277
|
||||||
|
BLKDISCARDZEROES = 0x127c
|
||||||
BLKFLSBUF = 0x1261
|
BLKFLSBUF = 0x1261
|
||||||
BLKFRAGET = 0x1265
|
BLKFRAGET = 0x1265
|
||||||
BLKFRASET = 0x1264
|
BLKFRASET = 0x1264
|
||||||
|
BLKGETDISKSEQ = 0x80081280
|
||||||
BLKGETSIZE = 0x1260
|
BLKGETSIZE = 0x1260
|
||||||
BLKGETSIZE64 = 0x80081272
|
BLKGETSIZE64 = 0x80081272
|
||||||
|
BLKIOMIN = 0x1278
|
||||||
|
BLKIOOPT = 0x1279
|
||||||
BLKPBSZGET = 0x127b
|
BLKPBSZGET = 0x127b
|
||||||
BLKRAGET = 0x1263
|
BLKRAGET = 0x1263
|
||||||
BLKRASET = 0x1262
|
BLKRASET = 0x1262
|
||||||
BLKROGET = 0x125e
|
BLKROGET = 0x125e
|
||||||
BLKROSET = 0x125d
|
BLKROSET = 0x125d
|
||||||
|
BLKROTATIONAL = 0x127e
|
||||||
BLKRRPART = 0x125f
|
BLKRRPART = 0x125f
|
||||||
|
BLKSECDISCARD = 0x127d
|
||||||
BLKSECTGET = 0x1267
|
BLKSECTGET = 0x1267
|
||||||
BLKSECTSET = 0x1266
|
BLKSECTSET = 0x1266
|
||||||
BLKSSZGET = 0x1268
|
BLKSSZGET = 0x1268
|
||||||
|
BLKZEROOUT = 0x127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
9
vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
generated
vendored
9
vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
generated
vendored
@ -27,22 +27,31 @@ const (
|
|||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x127a
|
||||||
BLKBSZGET = 0x80041270
|
BLKBSZGET = 0x80041270
|
||||||
BLKBSZSET = 0x40041271
|
BLKBSZSET = 0x40041271
|
||||||
|
BLKDISCARD = 0x1277
|
||||||
|
BLKDISCARDZEROES = 0x127c
|
||||||
BLKFLSBUF = 0x1261
|
BLKFLSBUF = 0x1261
|
||||||
BLKFRAGET = 0x1265
|
BLKFRAGET = 0x1265
|
||||||
BLKFRASET = 0x1264
|
BLKFRASET = 0x1264
|
||||||
|
BLKGETDISKSEQ = 0x80081280
|
||||||
BLKGETSIZE = 0x1260
|
BLKGETSIZE = 0x1260
|
||||||
BLKGETSIZE64 = 0x80041272
|
BLKGETSIZE64 = 0x80041272
|
||||||
|
BLKIOMIN = 0x1278
|
||||||
|
BLKIOOPT = 0x1279
|
||||||
BLKPBSZGET = 0x127b
|
BLKPBSZGET = 0x127b
|
||||||
BLKRAGET = 0x1263
|
BLKRAGET = 0x1263
|
||||||
BLKRASET = 0x1262
|
BLKRASET = 0x1262
|
||||||
BLKROGET = 0x125e
|
BLKROGET = 0x125e
|
||||||
BLKROSET = 0x125d
|
BLKROSET = 0x125d
|
||||||
|
BLKROTATIONAL = 0x127e
|
||||||
BLKRRPART = 0x125f
|
BLKRRPART = 0x125f
|
||||||
|
BLKSECDISCARD = 0x127d
|
||||||
BLKSECTGET = 0x1267
|
BLKSECTGET = 0x1267
|
||||||
BLKSECTSET = 0x1266
|
BLKSECTSET = 0x1266
|
||||||
BLKSSZGET = 0x1268
|
BLKSSZGET = 0x1268
|
||||||
|
BLKZEROOUT = 0x127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
9
vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
generated
vendored
9
vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
generated
vendored
@ -27,22 +27,31 @@ const (
|
|||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x127a
|
||||||
BLKBSZGET = 0x80081270
|
BLKBSZGET = 0x80081270
|
||||||
BLKBSZSET = 0x40081271
|
BLKBSZSET = 0x40081271
|
||||||
|
BLKDISCARD = 0x1277
|
||||||
|
BLKDISCARDZEROES = 0x127c
|
||||||
BLKFLSBUF = 0x1261
|
BLKFLSBUF = 0x1261
|
||||||
BLKFRAGET = 0x1265
|
BLKFRAGET = 0x1265
|
||||||
BLKFRASET = 0x1264
|
BLKFRASET = 0x1264
|
||||||
|
BLKGETDISKSEQ = 0x80081280
|
||||||
BLKGETSIZE = 0x1260
|
BLKGETSIZE = 0x1260
|
||||||
BLKGETSIZE64 = 0x80081272
|
BLKGETSIZE64 = 0x80081272
|
||||||
|
BLKIOMIN = 0x1278
|
||||||
|
BLKIOOPT = 0x1279
|
||||||
BLKPBSZGET = 0x127b
|
BLKPBSZGET = 0x127b
|
||||||
BLKRAGET = 0x1263
|
BLKRAGET = 0x1263
|
||||||
BLKRASET = 0x1262
|
BLKRASET = 0x1262
|
||||||
BLKROGET = 0x125e
|
BLKROGET = 0x125e
|
||||||
BLKROSET = 0x125d
|
BLKROSET = 0x125d
|
||||||
|
BLKROTATIONAL = 0x127e
|
||||||
BLKRRPART = 0x125f
|
BLKRRPART = 0x125f
|
||||||
|
BLKSECDISCARD = 0x127d
|
||||||
BLKSECTGET = 0x1267
|
BLKSECTGET = 0x1267
|
||||||
BLKSECTSET = 0x1266
|
BLKSECTSET = 0x1266
|
||||||
BLKSSZGET = 0x1268
|
BLKSSZGET = 0x1268
|
||||||
|
BLKZEROOUT = 0x127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
9
vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go
generated
vendored
9
vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go
generated
vendored
@ -27,22 +27,31 @@ const (
|
|||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x127a
|
||||||
BLKBSZGET = 0x80081270
|
BLKBSZGET = 0x80081270
|
||||||
BLKBSZSET = 0x40081271
|
BLKBSZSET = 0x40081271
|
||||||
|
BLKDISCARD = 0x1277
|
||||||
|
BLKDISCARDZEROES = 0x127c
|
||||||
BLKFLSBUF = 0x1261
|
BLKFLSBUF = 0x1261
|
||||||
BLKFRAGET = 0x1265
|
BLKFRAGET = 0x1265
|
||||||
BLKFRASET = 0x1264
|
BLKFRASET = 0x1264
|
||||||
|
BLKGETDISKSEQ = 0x80081280
|
||||||
BLKGETSIZE = 0x1260
|
BLKGETSIZE = 0x1260
|
||||||
BLKGETSIZE64 = 0x80081272
|
BLKGETSIZE64 = 0x80081272
|
||||||
|
BLKIOMIN = 0x1278
|
||||||
|
BLKIOOPT = 0x1279
|
||||||
BLKPBSZGET = 0x127b
|
BLKPBSZGET = 0x127b
|
||||||
BLKRAGET = 0x1263
|
BLKRAGET = 0x1263
|
||||||
BLKRASET = 0x1262
|
BLKRASET = 0x1262
|
||||||
BLKROGET = 0x125e
|
BLKROGET = 0x125e
|
||||||
BLKROSET = 0x125d
|
BLKROSET = 0x125d
|
||||||
|
BLKROTATIONAL = 0x127e
|
||||||
BLKRRPART = 0x125f
|
BLKRRPART = 0x125f
|
||||||
|
BLKSECDISCARD = 0x127d
|
||||||
BLKSECTGET = 0x1267
|
BLKSECTGET = 0x1267
|
||||||
BLKSECTSET = 0x1266
|
BLKSECTSET = 0x1266
|
||||||
BLKSSZGET = 0x1268
|
BLKSSZGET = 0x1268
|
||||||
|
BLKZEROOUT = 0x127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
9
vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
generated
vendored
9
vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
generated
vendored
@ -27,22 +27,31 @@ const (
|
|||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x2000127a
|
||||||
BLKBSZGET = 0x40041270
|
BLKBSZGET = 0x40041270
|
||||||
BLKBSZSET = 0x80041271
|
BLKBSZSET = 0x80041271
|
||||||
|
BLKDISCARD = 0x20001277
|
||||||
|
BLKDISCARDZEROES = 0x2000127c
|
||||||
BLKFLSBUF = 0x20001261
|
BLKFLSBUF = 0x20001261
|
||||||
BLKFRAGET = 0x20001265
|
BLKFRAGET = 0x20001265
|
||||||
BLKFRASET = 0x20001264
|
BLKFRASET = 0x20001264
|
||||||
|
BLKGETDISKSEQ = 0x40081280
|
||||||
BLKGETSIZE = 0x20001260
|
BLKGETSIZE = 0x20001260
|
||||||
BLKGETSIZE64 = 0x40041272
|
BLKGETSIZE64 = 0x40041272
|
||||||
|
BLKIOMIN = 0x20001278
|
||||||
|
BLKIOOPT = 0x20001279
|
||||||
BLKPBSZGET = 0x2000127b
|
BLKPBSZGET = 0x2000127b
|
||||||
BLKRAGET = 0x20001263
|
BLKRAGET = 0x20001263
|
||||||
BLKRASET = 0x20001262
|
BLKRASET = 0x20001262
|
||||||
BLKROGET = 0x2000125e
|
BLKROGET = 0x2000125e
|
||||||
BLKROSET = 0x2000125d
|
BLKROSET = 0x2000125d
|
||||||
|
BLKROTATIONAL = 0x2000127e
|
||||||
BLKRRPART = 0x2000125f
|
BLKRRPART = 0x2000125f
|
||||||
|
BLKSECDISCARD = 0x2000127d
|
||||||
BLKSECTGET = 0x20001267
|
BLKSECTGET = 0x20001267
|
||||||
BLKSECTSET = 0x20001266
|
BLKSECTSET = 0x20001266
|
||||||
BLKSSZGET = 0x20001268
|
BLKSSZGET = 0x20001268
|
||||||
|
BLKZEROOUT = 0x2000127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
9
vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
generated
vendored
9
vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
generated
vendored
@ -27,22 +27,31 @@ const (
|
|||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x2000127a
|
||||||
BLKBSZGET = 0x40081270
|
BLKBSZGET = 0x40081270
|
||||||
BLKBSZSET = 0x80081271
|
BLKBSZSET = 0x80081271
|
||||||
|
BLKDISCARD = 0x20001277
|
||||||
|
BLKDISCARDZEROES = 0x2000127c
|
||||||
BLKFLSBUF = 0x20001261
|
BLKFLSBUF = 0x20001261
|
||||||
BLKFRAGET = 0x20001265
|
BLKFRAGET = 0x20001265
|
||||||
BLKFRASET = 0x20001264
|
BLKFRASET = 0x20001264
|
||||||
|
BLKGETDISKSEQ = 0x40081280
|
||||||
BLKGETSIZE = 0x20001260
|
BLKGETSIZE = 0x20001260
|
||||||
BLKGETSIZE64 = 0x40081272
|
BLKGETSIZE64 = 0x40081272
|
||||||
|
BLKIOMIN = 0x20001278
|
||||||
|
BLKIOOPT = 0x20001279
|
||||||
BLKPBSZGET = 0x2000127b
|
BLKPBSZGET = 0x2000127b
|
||||||
BLKRAGET = 0x20001263
|
BLKRAGET = 0x20001263
|
||||||
BLKRASET = 0x20001262
|
BLKRASET = 0x20001262
|
||||||
BLKROGET = 0x2000125e
|
BLKROGET = 0x2000125e
|
||||||
BLKROSET = 0x2000125d
|
BLKROSET = 0x2000125d
|
||||||
|
BLKROTATIONAL = 0x2000127e
|
||||||
BLKRRPART = 0x2000125f
|
BLKRRPART = 0x2000125f
|
||||||
|
BLKSECDISCARD = 0x2000127d
|
||||||
BLKSECTGET = 0x20001267
|
BLKSECTGET = 0x20001267
|
||||||
BLKSECTSET = 0x20001266
|
BLKSECTSET = 0x20001266
|
||||||
BLKSSZGET = 0x20001268
|
BLKSSZGET = 0x20001268
|
||||||
|
BLKZEROOUT = 0x2000127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
9
vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
generated
vendored
9
vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
generated
vendored
@ -27,22 +27,31 @@ const (
|
|||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x2000127a
|
||||||
BLKBSZGET = 0x40081270
|
BLKBSZGET = 0x40081270
|
||||||
BLKBSZSET = 0x80081271
|
BLKBSZSET = 0x80081271
|
||||||
|
BLKDISCARD = 0x20001277
|
||||||
|
BLKDISCARDZEROES = 0x2000127c
|
||||||
BLKFLSBUF = 0x20001261
|
BLKFLSBUF = 0x20001261
|
||||||
BLKFRAGET = 0x20001265
|
BLKFRAGET = 0x20001265
|
||||||
BLKFRASET = 0x20001264
|
BLKFRASET = 0x20001264
|
||||||
|
BLKGETDISKSEQ = 0x40081280
|
||||||
BLKGETSIZE = 0x20001260
|
BLKGETSIZE = 0x20001260
|
||||||
BLKGETSIZE64 = 0x40081272
|
BLKGETSIZE64 = 0x40081272
|
||||||
|
BLKIOMIN = 0x20001278
|
||||||
|
BLKIOOPT = 0x20001279
|
||||||
BLKPBSZGET = 0x2000127b
|
BLKPBSZGET = 0x2000127b
|
||||||
BLKRAGET = 0x20001263
|
BLKRAGET = 0x20001263
|
||||||
BLKRASET = 0x20001262
|
BLKRASET = 0x20001262
|
||||||
BLKROGET = 0x2000125e
|
BLKROGET = 0x2000125e
|
||||||
BLKROSET = 0x2000125d
|
BLKROSET = 0x2000125d
|
||||||
|
BLKROTATIONAL = 0x2000127e
|
||||||
BLKRRPART = 0x2000125f
|
BLKRRPART = 0x2000125f
|
||||||
|
BLKSECDISCARD = 0x2000127d
|
||||||
BLKSECTGET = 0x20001267
|
BLKSECTGET = 0x20001267
|
||||||
BLKSECTSET = 0x20001266
|
BLKSECTSET = 0x20001266
|
||||||
BLKSSZGET = 0x20001268
|
BLKSSZGET = 0x20001268
|
||||||
|
BLKZEROOUT = 0x2000127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
9
vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
generated
vendored
9
vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
generated
vendored
@ -27,22 +27,31 @@ const (
|
|||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x2000127a
|
||||||
BLKBSZGET = 0x40041270
|
BLKBSZGET = 0x40041270
|
||||||
BLKBSZSET = 0x80041271
|
BLKBSZSET = 0x80041271
|
||||||
|
BLKDISCARD = 0x20001277
|
||||||
|
BLKDISCARDZEROES = 0x2000127c
|
||||||
BLKFLSBUF = 0x20001261
|
BLKFLSBUF = 0x20001261
|
||||||
BLKFRAGET = 0x20001265
|
BLKFRAGET = 0x20001265
|
||||||
BLKFRASET = 0x20001264
|
BLKFRASET = 0x20001264
|
||||||
|
BLKGETDISKSEQ = 0x40081280
|
||||||
BLKGETSIZE = 0x20001260
|
BLKGETSIZE = 0x20001260
|
||||||
BLKGETSIZE64 = 0x40041272
|
BLKGETSIZE64 = 0x40041272
|
||||||
|
BLKIOMIN = 0x20001278
|
||||||
|
BLKIOOPT = 0x20001279
|
||||||
BLKPBSZGET = 0x2000127b
|
BLKPBSZGET = 0x2000127b
|
||||||
BLKRAGET = 0x20001263
|
BLKRAGET = 0x20001263
|
||||||
BLKRASET = 0x20001262
|
BLKRASET = 0x20001262
|
||||||
BLKROGET = 0x2000125e
|
BLKROGET = 0x2000125e
|
||||||
BLKROSET = 0x2000125d
|
BLKROSET = 0x2000125d
|
||||||
|
BLKROTATIONAL = 0x2000127e
|
||||||
BLKRRPART = 0x2000125f
|
BLKRRPART = 0x2000125f
|
||||||
|
BLKSECDISCARD = 0x2000127d
|
||||||
BLKSECTGET = 0x20001267
|
BLKSECTGET = 0x20001267
|
||||||
BLKSECTSET = 0x20001266
|
BLKSECTSET = 0x20001266
|
||||||
BLKSSZGET = 0x20001268
|
BLKSSZGET = 0x20001268
|
||||||
|
BLKZEROOUT = 0x2000127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
9
vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go
generated
vendored
9
vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go
generated
vendored
@ -27,22 +27,31 @@ const (
|
|||||||
B57600 = 0x10
|
B57600 = 0x10
|
||||||
B576000 = 0x15
|
B576000 = 0x15
|
||||||
B921600 = 0x16
|
B921600 = 0x16
|
||||||
|
BLKALIGNOFF = 0x2000127a
|
||||||
BLKBSZGET = 0x40041270
|
BLKBSZGET = 0x40041270
|
||||||
BLKBSZSET = 0x80041271
|
BLKBSZSET = 0x80041271
|
||||||
|
BLKDISCARD = 0x20001277
|
||||||
|
BLKDISCARDZEROES = 0x2000127c
|
||||||
BLKFLSBUF = 0x20001261
|
BLKFLSBUF = 0x20001261
|
||||||
BLKFRAGET = 0x20001265
|
BLKFRAGET = 0x20001265
|
||||||
BLKFRASET = 0x20001264
|
BLKFRASET = 0x20001264
|
||||||
|
BLKGETDISKSEQ = 0x40081280
|
||||||
BLKGETSIZE = 0x20001260
|
BLKGETSIZE = 0x20001260
|
||||||
BLKGETSIZE64 = 0x40041272
|
BLKGETSIZE64 = 0x40041272
|
||||||
|
BLKIOMIN = 0x20001278
|
||||||
|
BLKIOOPT = 0x20001279
|
||||||
BLKPBSZGET = 0x2000127b
|
BLKPBSZGET = 0x2000127b
|
||||||
BLKRAGET = 0x20001263
|
BLKRAGET = 0x20001263
|
||||||
BLKRASET = 0x20001262
|
BLKRASET = 0x20001262
|
||||||
BLKROGET = 0x2000125e
|
BLKROGET = 0x2000125e
|
||||||
BLKROSET = 0x2000125d
|
BLKROSET = 0x2000125d
|
||||||
|
BLKROTATIONAL = 0x2000127e
|
||||||
BLKRRPART = 0x2000125f
|
BLKRRPART = 0x2000125f
|
||||||
|
BLKSECDISCARD = 0x2000127d
|
||||||
BLKSECTGET = 0x20001267
|
BLKSECTGET = 0x20001267
|
||||||
BLKSECTSET = 0x20001266
|
BLKSECTSET = 0x20001266
|
||||||
BLKSSZGET = 0x20001268
|
BLKSSZGET = 0x20001268
|
||||||
|
BLKZEROOUT = 0x2000127f
|
||||||
BOTHER = 0x1f
|
BOTHER = 0x1f
|
||||||
BS1 = 0x8000
|
BS1 = 0x8000
|
||||||
BSDLY = 0x8000
|
BSDLY = 0x8000
|
||||||
|
9
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
generated
vendored
9
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
generated
vendored
@ -27,22 +27,31 @@ const (
|
|||||||
B57600 = 0x10
|
B57600 = 0x10
|
||||||
B576000 = 0x15
|
B576000 = 0x15
|
||||||
B921600 = 0x16
|
B921600 = 0x16
|
||||||
|
BLKALIGNOFF = 0x2000127a
|
||||||
BLKBSZGET = 0x40081270
|
BLKBSZGET = 0x40081270
|
||||||
BLKBSZSET = 0x80081271
|
BLKBSZSET = 0x80081271
|
||||||
|
BLKDISCARD = 0x20001277
|
||||||
|
BLKDISCARDZEROES = 0x2000127c
|
||||||
BLKFLSBUF = 0x20001261
|
BLKFLSBUF = 0x20001261
|
||||||
BLKFRAGET = 0x20001265
|
BLKFRAGET = 0x20001265
|
||||||
BLKFRASET = 0x20001264
|
BLKFRASET = 0x20001264
|
||||||
|
BLKGETDISKSEQ = 0x40081280
|
||||||
BLKGETSIZE = 0x20001260
|
BLKGETSIZE = 0x20001260
|
||||||
BLKGETSIZE64 = 0x40081272
|
BLKGETSIZE64 = 0x40081272
|
||||||
|
BLKIOMIN = 0x20001278
|
||||||
|
BLKIOOPT = 0x20001279
|
||||||
BLKPBSZGET = 0x2000127b
|
BLKPBSZGET = 0x2000127b
|
||||||
BLKRAGET = 0x20001263
|
BLKRAGET = 0x20001263
|
||||||
BLKRASET = 0x20001262
|
BLKRASET = 0x20001262
|
||||||
BLKROGET = 0x2000125e
|
BLKROGET = 0x2000125e
|
||||||
BLKROSET = 0x2000125d
|
BLKROSET = 0x2000125d
|
||||||
|
BLKROTATIONAL = 0x2000127e
|
||||||
BLKRRPART = 0x2000125f
|
BLKRRPART = 0x2000125f
|
||||||
|
BLKSECDISCARD = 0x2000127d
|
||||||
BLKSECTGET = 0x20001267
|
BLKSECTGET = 0x20001267
|
||||||
BLKSECTSET = 0x20001266
|
BLKSECTSET = 0x20001266
|
||||||
BLKSSZGET = 0x20001268
|
BLKSSZGET = 0x20001268
|
||||||
|
BLKZEROOUT = 0x2000127f
|
||||||
BOTHER = 0x1f
|
BOTHER = 0x1f
|
||||||
BS1 = 0x8000
|
BS1 = 0x8000
|
||||||
BSDLY = 0x8000
|
BSDLY = 0x8000
|
||||||
|
9
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
generated
vendored
9
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
generated
vendored
@ -27,22 +27,31 @@ const (
|
|||||||
B57600 = 0x10
|
B57600 = 0x10
|
||||||
B576000 = 0x15
|
B576000 = 0x15
|
||||||
B921600 = 0x16
|
B921600 = 0x16
|
||||||
|
BLKALIGNOFF = 0x2000127a
|
||||||
BLKBSZGET = 0x40081270
|
BLKBSZGET = 0x40081270
|
||||||
BLKBSZSET = 0x80081271
|
BLKBSZSET = 0x80081271
|
||||||
|
BLKDISCARD = 0x20001277
|
||||||
|
BLKDISCARDZEROES = 0x2000127c
|
||||||
BLKFLSBUF = 0x20001261
|
BLKFLSBUF = 0x20001261
|
||||||
BLKFRAGET = 0x20001265
|
BLKFRAGET = 0x20001265
|
||||||
BLKFRASET = 0x20001264
|
BLKFRASET = 0x20001264
|
||||||
|
BLKGETDISKSEQ = 0x40081280
|
||||||
BLKGETSIZE = 0x20001260
|
BLKGETSIZE = 0x20001260
|
||||||
BLKGETSIZE64 = 0x40081272
|
BLKGETSIZE64 = 0x40081272
|
||||||
|
BLKIOMIN = 0x20001278
|
||||||
|
BLKIOOPT = 0x20001279
|
||||||
BLKPBSZGET = 0x2000127b
|
BLKPBSZGET = 0x2000127b
|
||||||
BLKRAGET = 0x20001263
|
BLKRAGET = 0x20001263
|
||||||
BLKRASET = 0x20001262
|
BLKRASET = 0x20001262
|
||||||
BLKROGET = 0x2000125e
|
BLKROGET = 0x2000125e
|
||||||
BLKROSET = 0x2000125d
|
BLKROSET = 0x2000125d
|
||||||
|
BLKROTATIONAL = 0x2000127e
|
||||||
BLKRRPART = 0x2000125f
|
BLKRRPART = 0x2000125f
|
||||||
|
BLKSECDISCARD = 0x2000127d
|
||||||
BLKSECTGET = 0x20001267
|
BLKSECTGET = 0x20001267
|
||||||
BLKSECTSET = 0x20001266
|
BLKSECTSET = 0x20001266
|
||||||
BLKSSZGET = 0x20001268
|
BLKSSZGET = 0x20001268
|
||||||
|
BLKZEROOUT = 0x2000127f
|
||||||
BOTHER = 0x1f
|
BOTHER = 0x1f
|
||||||
BS1 = 0x8000
|
BS1 = 0x8000
|
||||||
BSDLY = 0x8000
|
BSDLY = 0x8000
|
||||||
|
9
vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
generated
vendored
9
vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
generated
vendored
@ -27,22 +27,31 @@ const (
|
|||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x127a
|
||||||
BLKBSZGET = 0x80081270
|
BLKBSZGET = 0x80081270
|
||||||
BLKBSZSET = 0x40081271
|
BLKBSZSET = 0x40081271
|
||||||
|
BLKDISCARD = 0x1277
|
||||||
|
BLKDISCARDZEROES = 0x127c
|
||||||
BLKFLSBUF = 0x1261
|
BLKFLSBUF = 0x1261
|
||||||
BLKFRAGET = 0x1265
|
BLKFRAGET = 0x1265
|
||||||
BLKFRASET = 0x1264
|
BLKFRASET = 0x1264
|
||||||
|
BLKGETDISKSEQ = 0x80081280
|
||||||
BLKGETSIZE = 0x1260
|
BLKGETSIZE = 0x1260
|
||||||
BLKGETSIZE64 = 0x80081272
|
BLKGETSIZE64 = 0x80081272
|
||||||
|
BLKIOMIN = 0x1278
|
||||||
|
BLKIOOPT = 0x1279
|
||||||
BLKPBSZGET = 0x127b
|
BLKPBSZGET = 0x127b
|
||||||
BLKRAGET = 0x1263
|
BLKRAGET = 0x1263
|
||||||
BLKRASET = 0x1262
|
BLKRASET = 0x1262
|
||||||
BLKROGET = 0x125e
|
BLKROGET = 0x125e
|
||||||
BLKROSET = 0x125d
|
BLKROSET = 0x125d
|
||||||
|
BLKROTATIONAL = 0x127e
|
||||||
BLKRRPART = 0x125f
|
BLKRRPART = 0x125f
|
||||||
|
BLKSECDISCARD = 0x127d
|
||||||
BLKSECTGET = 0x1267
|
BLKSECTGET = 0x1267
|
||||||
BLKSECTSET = 0x1266
|
BLKSECTSET = 0x1266
|
||||||
BLKSSZGET = 0x1268
|
BLKSSZGET = 0x1268
|
||||||
|
BLKZEROOUT = 0x127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
9
vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
generated
vendored
9
vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
generated
vendored
@ -27,22 +27,31 @@ const (
|
|||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x127a
|
||||||
BLKBSZGET = 0x80081270
|
BLKBSZGET = 0x80081270
|
||||||
BLKBSZSET = 0x40081271
|
BLKBSZSET = 0x40081271
|
||||||
|
BLKDISCARD = 0x1277
|
||||||
|
BLKDISCARDZEROES = 0x127c
|
||||||
BLKFLSBUF = 0x1261
|
BLKFLSBUF = 0x1261
|
||||||
BLKFRAGET = 0x1265
|
BLKFRAGET = 0x1265
|
||||||
BLKFRASET = 0x1264
|
BLKFRASET = 0x1264
|
||||||
|
BLKGETDISKSEQ = 0x80081280
|
||||||
BLKGETSIZE = 0x1260
|
BLKGETSIZE = 0x1260
|
||||||
BLKGETSIZE64 = 0x80081272
|
BLKGETSIZE64 = 0x80081272
|
||||||
|
BLKIOMIN = 0x1278
|
||||||
|
BLKIOOPT = 0x1279
|
||||||
BLKPBSZGET = 0x127b
|
BLKPBSZGET = 0x127b
|
||||||
BLKRAGET = 0x1263
|
BLKRAGET = 0x1263
|
||||||
BLKRASET = 0x1262
|
BLKRASET = 0x1262
|
||||||
BLKROGET = 0x125e
|
BLKROGET = 0x125e
|
||||||
BLKROSET = 0x125d
|
BLKROSET = 0x125d
|
||||||
|
BLKROTATIONAL = 0x127e
|
||||||
BLKRRPART = 0x125f
|
BLKRRPART = 0x125f
|
||||||
|
BLKSECDISCARD = 0x127d
|
||||||
BLKSECTGET = 0x1267
|
BLKSECTGET = 0x1267
|
||||||
BLKSECTSET = 0x1266
|
BLKSECTSET = 0x1266
|
||||||
BLKSSZGET = 0x1268
|
BLKSSZGET = 0x1268
|
||||||
|
BLKZEROOUT = 0x127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
9
vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
generated
vendored
9
vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
generated
vendored
@ -30,22 +30,31 @@ const (
|
|||||||
B57600 = 0x1001
|
B57600 = 0x1001
|
||||||
B576000 = 0x1006
|
B576000 = 0x1006
|
||||||
B921600 = 0x1007
|
B921600 = 0x1007
|
||||||
|
BLKALIGNOFF = 0x2000127a
|
||||||
BLKBSZGET = 0x40081270
|
BLKBSZGET = 0x40081270
|
||||||
BLKBSZSET = 0x80081271
|
BLKBSZSET = 0x80081271
|
||||||
|
BLKDISCARD = 0x20001277
|
||||||
|
BLKDISCARDZEROES = 0x2000127c
|
||||||
BLKFLSBUF = 0x20001261
|
BLKFLSBUF = 0x20001261
|
||||||
BLKFRAGET = 0x20001265
|
BLKFRAGET = 0x20001265
|
||||||
BLKFRASET = 0x20001264
|
BLKFRASET = 0x20001264
|
||||||
|
BLKGETDISKSEQ = 0x40081280
|
||||||
BLKGETSIZE = 0x20001260
|
BLKGETSIZE = 0x20001260
|
||||||
BLKGETSIZE64 = 0x40081272
|
BLKGETSIZE64 = 0x40081272
|
||||||
|
BLKIOMIN = 0x20001278
|
||||||
|
BLKIOOPT = 0x20001279
|
||||||
BLKPBSZGET = 0x2000127b
|
BLKPBSZGET = 0x2000127b
|
||||||
BLKRAGET = 0x20001263
|
BLKRAGET = 0x20001263
|
||||||
BLKRASET = 0x20001262
|
BLKRASET = 0x20001262
|
||||||
BLKROGET = 0x2000125e
|
BLKROGET = 0x2000125e
|
||||||
BLKROSET = 0x2000125d
|
BLKROSET = 0x2000125d
|
||||||
|
BLKROTATIONAL = 0x2000127e
|
||||||
BLKRRPART = 0x2000125f
|
BLKRRPART = 0x2000125f
|
||||||
|
BLKSECDISCARD = 0x2000127d
|
||||||
BLKSECTGET = 0x20001267
|
BLKSECTGET = 0x20001267
|
||||||
BLKSECTSET = 0x20001266
|
BLKSECTSET = 0x20001266
|
||||||
BLKSSZGET = 0x20001268
|
BLKSSZGET = 0x20001268
|
||||||
|
BLKZEROOUT = 0x2000127f
|
||||||
BOTHER = 0x1000
|
BOTHER = 0x1000
|
||||||
BS1 = 0x2000
|
BS1 = 0x2000
|
||||||
BSDLY = 0x2000
|
BSDLY = 0x2000
|
||||||
|
2
vendor/golang.org/x/sys/unix/zsyscall_linux.go
generated
vendored
2
vendor/golang.org/x/sys/unix/zsyscall_linux.go
generated
vendored
@ -1356,7 +1356,7 @@ func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (
|
|||||||
|
|
||||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
|
func pselect6(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *sigset_argpack) (n int, err error) {
|
||||||
r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)))
|
r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)))
|
||||||
n = int(r0)
|
n = int(r0)
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
16
vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go
generated
vendored
16
vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go
generated
vendored
@ -531,3 +531,19 @@ func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, f
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func riscvHWProbe(pairs []RISCVHWProbePairs, cpuCount uintptr, cpus *CPUSet, flags uint) (err error) {
|
||||||
|
var _p0 unsafe.Pointer
|
||||||
|
if len(pairs) > 0 {
|
||||||
|
_p0 = unsafe.Pointer(&pairs[0])
|
||||||
|
} else {
|
||||||
|
_p0 = unsafe.Pointer(&_zero)
|
||||||
|
}
|
||||||
|
_, _, e1 := Syscall6(SYS_RISCV_HWPROBE, uintptr(_p0), uintptr(len(pairs)), uintptr(cpuCount), uintptr(unsafe.Pointer(cpus)), uintptr(flags), 0)
|
||||||
|
if e1 != 0 {
|
||||||
|
err = errnoErr(e1)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
11
vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go
generated
vendored
11
vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go
generated
vendored
@ -1858,3 +1858,14 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func mremapNetBSD(oldp uintptr, oldsize uintptr, newp uintptr, newsize uintptr, flags int) (xaddr uintptr, err error) {
|
||||||
|
r0, _, e1 := Syscall6(SYS_MREMAP, uintptr(oldp), uintptr(oldsize), uintptr(newp), uintptr(newsize), uintptr(flags), 0)
|
||||||
|
xaddr = uintptr(r0)
|
||||||
|
if e1 != 0 {
|
||||||
|
err = errnoErr(e1)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
11
vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
generated
vendored
11
vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
generated
vendored
@ -1858,3 +1858,14 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func mremapNetBSD(oldp uintptr, oldsize uintptr, newp uintptr, newsize uintptr, flags int) (xaddr uintptr, err error) {
|
||||||
|
r0, _, e1 := Syscall6(SYS_MREMAP, uintptr(oldp), uintptr(oldsize), uintptr(newp), uintptr(newsize), uintptr(flags), 0)
|
||||||
|
xaddr = uintptr(r0)
|
||||||
|
if e1 != 0 {
|
||||||
|
err = errnoErr(e1)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
11
vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go
generated
vendored
11
vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go
generated
vendored
@ -1858,3 +1858,14 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func mremapNetBSD(oldp uintptr, oldsize uintptr, newp uintptr, newsize uintptr, flags int) (xaddr uintptr, err error) {
|
||||||
|
r0, _, e1 := Syscall6(SYS_MREMAP, uintptr(oldp), uintptr(oldsize), uintptr(newp), uintptr(newsize), uintptr(flags), 0)
|
||||||
|
xaddr = uintptr(r0)
|
||||||
|
if e1 != 0 {
|
||||||
|
err = errnoErr(e1)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
11
vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go
generated
vendored
11
vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go
generated
vendored
@ -1858,3 +1858,14 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func mremapNetBSD(oldp uintptr, oldsize uintptr, newp uintptr, newsize uintptr, flags int) (xaddr uintptr, err error) {
|
||||||
|
r0, _, e1 := Syscall6(SYS_MREMAP, uintptr(oldp), uintptr(oldsize), uintptr(newp), uintptr(newsize), uintptr(flags), 0)
|
||||||
|
xaddr = uintptr(r0)
|
||||||
|
if e1 != 0 {
|
||||||
|
err = errnoErr(e1)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
2
vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
generated
vendored
2
vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
generated
vendored
@ -251,6 +251,8 @@ const (
|
|||||||
SYS_ACCEPT4 = 242
|
SYS_ACCEPT4 = 242
|
||||||
SYS_RECVMMSG = 243
|
SYS_RECVMMSG = 243
|
||||||
SYS_ARCH_SPECIFIC_SYSCALL = 244
|
SYS_ARCH_SPECIFIC_SYSCALL = 244
|
||||||
|
SYS_RISCV_HWPROBE = 258
|
||||||
|
SYS_RISCV_FLUSH_ICACHE = 259
|
||||||
SYS_WAIT4 = 260
|
SYS_WAIT4 = 260
|
||||||
SYS_PRLIMIT64 = 261
|
SYS_PRLIMIT64 = 261
|
||||||
SYS_FANOTIFY_INIT = 262
|
SYS_FANOTIFY_INIT = 262
|
||||||
|
5
vendor/golang.org/x/sys/unix/ztypes_linux.go
generated
vendored
5
vendor/golang.org/x/sys/unix/ztypes_linux.go
generated
vendored
@ -866,6 +866,11 @@ const (
|
|||||||
POLLNVAL = 0x20
|
POLLNVAL = 0x20
|
||||||
)
|
)
|
||||||
|
|
||||||
|
type sigset_argpack struct {
|
||||||
|
ss *Sigset_t
|
||||||
|
ssLen uintptr
|
||||||
|
}
|
||||||
|
|
||||||
type SignalfdSiginfo struct {
|
type SignalfdSiginfo struct {
|
||||||
Signo uint32
|
Signo uint32
|
||||||
Errno int32
|
Errno int32
|
||||||
|
23
vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
generated
vendored
23
vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
generated
vendored
@ -718,3 +718,26 @@ type SysvShmDesc struct {
|
|||||||
_ uint64
|
_ uint64
|
||||||
_ uint64
|
_ uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type RISCVHWProbePairs struct {
|
||||||
|
Key int64
|
||||||
|
Value uint64
|
||||||
|
}
|
||||||
|
|
||||||
|
const (
|
||||||
|
RISCV_HWPROBE_KEY_MVENDORID = 0x0
|
||||||
|
RISCV_HWPROBE_KEY_MARCHID = 0x1
|
||||||
|
RISCV_HWPROBE_KEY_MIMPID = 0x2
|
||||||
|
RISCV_HWPROBE_KEY_BASE_BEHAVIOR = 0x3
|
||||||
|
RISCV_HWPROBE_BASE_BEHAVIOR_IMA = 0x1
|
||||||
|
RISCV_HWPROBE_KEY_IMA_EXT_0 = 0x4
|
||||||
|
RISCV_HWPROBE_IMA_FD = 0x1
|
||||||
|
RISCV_HWPROBE_IMA_C = 0x2
|
||||||
|
RISCV_HWPROBE_KEY_CPUPERF_0 = 0x5
|
||||||
|
RISCV_HWPROBE_MISALIGNED_UNKNOWN = 0x0
|
||||||
|
RISCV_HWPROBE_MISALIGNED_EMULATED = 0x1
|
||||||
|
RISCV_HWPROBE_MISALIGNED_SLOW = 0x2
|
||||||
|
RISCV_HWPROBE_MISALIGNED_FAST = 0x3
|
||||||
|
RISCV_HWPROBE_MISALIGNED_UNSUPPORTED = 0x4
|
||||||
|
RISCV_HWPROBE_MISALIGNED_MASK = 0x7
|
||||||
|
)
|
||||||
|
4
vendor/golang.org/x/sys/windows/syscall_windows.go
generated
vendored
4
vendor/golang.org/x/sys/windows/syscall_windows.go
generated
vendored
@ -135,14 +135,14 @@ func Getpagesize() int { return 4096 }
|
|||||||
|
|
||||||
// NewCallback converts a Go function to a function pointer conforming to the stdcall calling convention.
|
// NewCallback converts a Go function to a function pointer conforming to the stdcall calling convention.
|
||||||
// This is useful when interoperating with Windows code requiring callbacks.
|
// This is useful when interoperating with Windows code requiring callbacks.
|
||||||
// The argument is expected to be a function with with one uintptr-sized result. The function must not have arguments with size larger than the size of uintptr.
|
// The argument is expected to be a function with one uintptr-sized result. The function must not have arguments with size larger than the size of uintptr.
|
||||||
func NewCallback(fn interface{}) uintptr {
|
func NewCallback(fn interface{}) uintptr {
|
||||||
return syscall.NewCallback(fn)
|
return syscall.NewCallback(fn)
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewCallbackCDecl converts a Go function to a function pointer conforming to the cdecl calling convention.
|
// NewCallbackCDecl converts a Go function to a function pointer conforming to the cdecl calling convention.
|
||||||
// This is useful when interoperating with Windows code requiring callbacks.
|
// This is useful when interoperating with Windows code requiring callbacks.
|
||||||
// The argument is expected to be a function with with one uintptr-sized result. The function must not have arguments with size larger than the size of uintptr.
|
// The argument is expected to be a function with one uintptr-sized result. The function must not have arguments with size larger than the size of uintptr.
|
||||||
func NewCallbackCDecl(fn interface{}) uintptr {
|
func NewCallbackCDecl(fn interface{}) uintptr {
|
||||||
return syscall.NewCallbackCDecl(fn)
|
return syscall.NewCallbackCDecl(fn)
|
||||||
}
|
}
|
||||||
|
4
vendor/modules.txt
vendored
4
vendor/modules.txt
vendored
@ -639,7 +639,7 @@ golang.org/x/oauth2/internal
|
|||||||
## explicit; go 1.17
|
## explicit; go 1.17
|
||||||
golang.org/x/sync/errgroup
|
golang.org/x/sync/errgroup
|
||||||
golang.org/x/sync/semaphore
|
golang.org/x/sync/semaphore
|
||||||
# golang.org/x/sys v0.10.0
|
# golang.org/x/sys v0.11.0
|
||||||
## explicit; go 1.17
|
## explicit; go 1.17
|
||||||
golang.org/x/sys/cpu
|
golang.org/x/sys/cpu
|
||||||
golang.org/x/sys/execabs
|
golang.org/x/sys/execabs
|
||||||
@ -648,7 +648,7 @@ golang.org/x/sys/plan9
|
|||||||
golang.org/x/sys/unix
|
golang.org/x/sys/unix
|
||||||
golang.org/x/sys/windows
|
golang.org/x/sys/windows
|
||||||
golang.org/x/sys/windows/registry
|
golang.org/x/sys/windows/registry
|
||||||
# golang.org/x/term v0.10.0
|
# golang.org/x/term v0.11.0
|
||||||
## explicit; go 1.17
|
## explicit; go 1.17
|
||||||
golang.org/x/term
|
golang.org/x/term
|
||||||
# golang.org/x/text v0.11.0
|
# golang.org/x/text v0.11.0
|
||||||
|
Loading…
Reference in New Issue
Block a user