mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-05 22:27:37 +03:00
Bump golang.org/x/crypto from 0.9.0 to 0.10.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.9.0 to 0.10.0. - [Commits](https://github.com/golang/crypto/compare/v0.9.0...v0.10.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
0f1e3b4ba8
commit
61a62de3cc
27 changed files with 418 additions and 34 deletions
6
go.mod
6
go.mod
|
@ -21,9 +21,9 @@ require (
|
||||||
github.com/miekg/dns v1.1.54
|
github.com/miekg/dns v1.1.54
|
||||||
github.com/powerman/check v1.7.0
|
github.com/powerman/check v1.7.0
|
||||||
github.com/quic-go/quic-go v0.35.1
|
github.com/quic-go/quic-go v0.35.1
|
||||||
golang.org/x/crypto v0.9.0
|
golang.org/x/crypto v0.10.0
|
||||||
golang.org/x/net v0.10.0
|
golang.org/x/net v0.10.0
|
||||||
golang.org/x/sys v0.8.0
|
golang.org/x/sys v0.9.0
|
||||||
gopkg.in/natefinch/lumberjack.v2 v2.2.1
|
gopkg.in/natefinch/lumberjack.v2 v2.2.1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ require (
|
||||||
github.com/smartystreets/goconvey v1.7.2 // indirect
|
github.com/smartystreets/goconvey v1.7.2 // indirect
|
||||||
golang.org/x/exp v0.0.0-20221205204356-47842c84f3db // indirect
|
golang.org/x/exp v0.0.0-20221205204356-47842c84f3db // indirect
|
||||||
golang.org/x/mod v0.8.0 // indirect
|
golang.org/x/mod v0.8.0 // indirect
|
||||||
golang.org/x/text v0.9.0 // indirect
|
golang.org/x/text v0.10.0 // indirect
|
||||||
golang.org/x/tools v0.6.0 // indirect
|
golang.org/x/tools v0.6.0 // indirect
|
||||||
google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect
|
google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect
|
||||||
google.golang.org/grpc v1.53.0 // indirect
|
google.golang.org/grpc v1.53.0 // indirect
|
||||||
|
|
12
go.sum
12
go.sum
|
@ -85,8 +85,8 @@ github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5
|
||||||
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
|
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
|
||||||
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
|
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
|
||||||
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
||||||
golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g=
|
golang.org/x/crypto v0.10.0 h1:LKqV2xt9+kDzSTfOhx4FrkEBcMrAgHSYgzywV9zcGmM=
|
||||||
golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0=
|
golang.org/x/crypto v0.10.0/go.mod h1:o4eNf7Ede1fv+hwOwZsTHl9EsPFO6q6ZvYR8vYfY45I=
|
||||||
golang.org/x/exp v0.0.0-20221205204356-47842c84f3db h1:D/cFflL63o2KSLJIwjlcIt8PR064j/xsmdEJL/YvY/o=
|
golang.org/x/exp v0.0.0-20221205204356-47842c84f3db h1:D/cFflL63o2KSLJIwjlcIt8PR064j/xsmdEJL/YvY/o=
|
||||||
golang.org/x/exp v0.0.0-20221205204356-47842c84f3db/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
|
golang.org/x/exp v0.0.0-20221205204356-47842c84f3db/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
|
||||||
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||||
|
@ -109,13 +109,13 @@ golang.org/x/sys v0.0.0-20201015000850-e3ed0017c211/go.mod h1:h1NjWce9XRLGQEsW7w
|
||||||
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU=
|
golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s=
|
||||||
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.9.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/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.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||||
golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE=
|
golang.org/x/text v0.10.0 h1:UpjohKhiEgNc0CSauXmwYftY1+LlaC75SJwh0SgCX58=
|
||||||
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
|
golang.org/x/text v0.10.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
|
||||||
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
||||||
golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
|
golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
|
||||||
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
|
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
|
||||||
|
|
4
vendor/golang.org/x/sys/cpu/endian_little.go
generated
vendored
4
vendor/golang.org/x/sys/cpu/endian_little.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 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh
|
//go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh || wasm
|
||||||
// +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 wasm
|
||||||
|
|
||||||
package cpu
|
package cpu
|
||||||
|
|
||||||
|
|
2
vendor/golang.org/x/sys/unix/mkall.sh
generated
vendored
2
vendor/golang.org/x/sys/unix/mkall.sh
generated
vendored
|
@ -50,7 +50,7 @@ if [[ "$GOOS" = "linux" ]]; then
|
||||||
# Use the Docker-based build system
|
# Use the Docker-based build system
|
||||||
# Files generated through docker (use $cmd so you can Ctl-C the build or run)
|
# Files generated through docker (use $cmd so you can Ctl-C the build or run)
|
||||||
$cmd docker build --tag generate:$GOOS $GOOS
|
$cmd docker build --tag generate:$GOOS $GOOS
|
||||||
$cmd docker run --interactive --tty --volume $(cd -- "$(dirname -- "$0")/.." && /bin/pwd):/build generate:$GOOS
|
$cmd docker run --interactive --tty --volume $(cd -- "$(dirname -- "$0")/.." && pwd):/build generate:$GOOS
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
6
vendor/golang.org/x/sys/unix/mkerrors.sh
generated
vendored
6
vendor/golang.org/x/sys/unix/mkerrors.sh
generated
vendored
|
@ -741,7 +741,8 @@ main(void)
|
||||||
e = errors[i].num;
|
e = errors[i].num;
|
||||||
if(i > 0 && errors[i-1].num == e)
|
if(i > 0 && errors[i-1].num == e)
|
||||||
continue;
|
continue;
|
||||||
strcpy(buf, strerror(e));
|
strncpy(buf, strerror(e), sizeof(buf) - 1);
|
||||||
|
buf[sizeof(buf) - 1] = '\0';
|
||||||
// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
|
// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
|
||||||
if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z)
|
if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z)
|
||||||
buf[0] += a - A;
|
buf[0] += a - A;
|
||||||
|
@ -760,7 +761,8 @@ main(void)
|
||||||
e = signals[i].num;
|
e = signals[i].num;
|
||||||
if(i > 0 && signals[i-1].num == e)
|
if(i > 0 && signals[i-1].num == e)
|
||||||
continue;
|
continue;
|
||||||
strcpy(buf, strsignal(e));
|
strncpy(buf, strsignal(e), sizeof(buf) - 1);
|
||||||
|
buf[sizeof(buf) - 1] = '\0';
|
||||||
// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
|
// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
|
||||||
if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z)
|
if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z)
|
||||||
buf[0] += a - A;
|
buf[0] += a - A;
|
||||||
|
|
30
vendor/golang.org/x/sys/unix/syscall_linux.go
generated
vendored
30
vendor/golang.org/x/sys/unix/syscall_linux.go
generated
vendored
|
@ -1699,12 +1699,23 @@ func PtracePokeUser(pid int, addr uintptr, data []byte) (count int, err error) {
|
||||||
return ptracePoke(PTRACE_POKEUSR, PTRACE_PEEKUSR, pid, addr, data)
|
return ptracePoke(PTRACE_POKEUSR, PTRACE_PEEKUSR, pid, addr, data)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// elfNT_PRSTATUS is a copy of the debug/elf.NT_PRSTATUS constant so
|
||||||
|
// x/sys/unix doesn't need to depend on debug/elf and thus
|
||||||
|
// compress/zlib, debug/dwarf, and other packages.
|
||||||
|
const elfNT_PRSTATUS = 1
|
||||||
|
|
||||||
func PtraceGetRegs(pid int, regsout *PtraceRegs) (err error) {
|
func PtraceGetRegs(pid int, regsout *PtraceRegs) (err error) {
|
||||||
return ptracePtr(PTRACE_GETREGS, pid, 0, unsafe.Pointer(regsout))
|
var iov Iovec
|
||||||
|
iov.Base = (*byte)(unsafe.Pointer(regsout))
|
||||||
|
iov.SetLen(int(unsafe.Sizeof(*regsout)))
|
||||||
|
return ptracePtr(PTRACE_GETREGSET, pid, uintptr(elfNT_PRSTATUS), unsafe.Pointer(&iov))
|
||||||
}
|
}
|
||||||
|
|
||||||
func PtraceSetRegs(pid int, regs *PtraceRegs) (err error) {
|
func PtraceSetRegs(pid int, regs *PtraceRegs) (err error) {
|
||||||
return ptracePtr(PTRACE_SETREGS, pid, 0, unsafe.Pointer(regs))
|
var iov Iovec
|
||||||
|
iov.Base = (*byte)(unsafe.Pointer(regs))
|
||||||
|
iov.SetLen(int(unsafe.Sizeof(*regs)))
|
||||||
|
return ptracePtr(PTRACE_SETREGSET, pid, uintptr(elfNT_PRSTATUS), unsafe.Pointer(&iov))
|
||||||
}
|
}
|
||||||
|
|
||||||
func PtraceSetOptions(pid int, options int) (err error) {
|
func PtraceSetOptions(pid int, options int) (err error) {
|
||||||
|
@ -2420,6 +2431,21 @@ func PthreadSigmask(how int, set, oldset *Sigset_t) error {
|
||||||
return rtSigprocmask(how, set, oldset, _C__NSIG/8)
|
return rtSigprocmask(how, set, oldset, _C__NSIG/8)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//sysnb getresuid(ruid *_C_int, euid *_C_int, suid *_C_int)
|
||||||
|
//sysnb getresgid(rgid *_C_int, egid *_C_int, sgid *_C_int)
|
||||||
|
|
||||||
|
func Getresuid() (ruid, euid, suid int) {
|
||||||
|
var r, e, s _C_int
|
||||||
|
getresuid(&r, &e, &s)
|
||||||
|
return int(r), int(e), int(s)
|
||||||
|
}
|
||||||
|
|
||||||
|
func Getresgid() (rgid, egid, sgid int) {
|
||||||
|
var r, e, s _C_int
|
||||||
|
getresgid(&r, &e, &s)
|
||||||
|
return int(r), int(e), int(s)
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Unimplemented
|
* Unimplemented
|
||||||
*/
|
*/
|
||||||
|
|
17
vendor/golang.org/x/sys/unix/syscall_openbsd.go
generated
vendored
17
vendor/golang.org/x/sys/unix/syscall_openbsd.go
generated
vendored
|
@ -151,6 +151,21 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//sysnb getresuid(ruid *_C_int, euid *_C_int, suid *_C_int)
|
||||||
|
//sysnb getresgid(rgid *_C_int, egid *_C_int, sgid *_C_int)
|
||||||
|
|
||||||
|
func Getresuid() (ruid, euid, suid int) {
|
||||||
|
var r, e, s _C_int
|
||||||
|
getresuid(&r, &e, &s)
|
||||||
|
return int(r), int(e), int(s)
|
||||||
|
}
|
||||||
|
|
||||||
|
func Getresgid() (rgid, egid, sgid int) {
|
||||||
|
var r, e, s _C_int
|
||||||
|
getresgid(&r, &e, &s)
|
||||||
|
return int(r), int(e), int(s)
|
||||||
|
}
|
||||||
|
|
||||||
//sys ioctl(fd int, req uint, arg uintptr) (err error)
|
//sys ioctl(fd int, req uint, arg uintptr) (err error)
|
||||||
//sys ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) = SYS_IOCTL
|
//sys ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) = SYS_IOCTL
|
||||||
|
|
||||||
|
@ -338,8 +353,6 @@ func Uname(uname *Utsname) error {
|
||||||
// getgid
|
// getgid
|
||||||
// getitimer
|
// getitimer
|
||||||
// getlogin
|
// getlogin
|
||||||
// getresgid
|
|
||||||
// getresuid
|
|
||||||
// getthrid
|
// getthrid
|
||||||
// ktrace
|
// ktrace
|
||||||
// lfs_bmapv
|
// lfs_bmapv
|
||||||
|
|
48
vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
generated
vendored
48
vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
generated
vendored
|
@ -329,6 +329,54 @@ const (
|
||||||
SCM_WIFI_STATUS = 0x25
|
SCM_WIFI_STATUS = 0x25
|
||||||
SFD_CLOEXEC = 0x400000
|
SFD_CLOEXEC = 0x400000
|
||||||
SFD_NONBLOCK = 0x4000
|
SFD_NONBLOCK = 0x4000
|
||||||
|
SF_FP = 0x38
|
||||||
|
SF_I0 = 0x20
|
||||||
|
SF_I1 = 0x24
|
||||||
|
SF_I2 = 0x28
|
||||||
|
SF_I3 = 0x2c
|
||||||
|
SF_I4 = 0x30
|
||||||
|
SF_I5 = 0x34
|
||||||
|
SF_L0 = 0x0
|
||||||
|
SF_L1 = 0x4
|
||||||
|
SF_L2 = 0x8
|
||||||
|
SF_L3 = 0xc
|
||||||
|
SF_L4 = 0x10
|
||||||
|
SF_L5 = 0x14
|
||||||
|
SF_L6 = 0x18
|
||||||
|
SF_L7 = 0x1c
|
||||||
|
SF_PC = 0x3c
|
||||||
|
SF_RETP = 0x40
|
||||||
|
SF_V9_FP = 0x70
|
||||||
|
SF_V9_I0 = 0x40
|
||||||
|
SF_V9_I1 = 0x48
|
||||||
|
SF_V9_I2 = 0x50
|
||||||
|
SF_V9_I3 = 0x58
|
||||||
|
SF_V9_I4 = 0x60
|
||||||
|
SF_V9_I5 = 0x68
|
||||||
|
SF_V9_L0 = 0x0
|
||||||
|
SF_V9_L1 = 0x8
|
||||||
|
SF_V9_L2 = 0x10
|
||||||
|
SF_V9_L3 = 0x18
|
||||||
|
SF_V9_L4 = 0x20
|
||||||
|
SF_V9_L5 = 0x28
|
||||||
|
SF_V9_L6 = 0x30
|
||||||
|
SF_V9_L7 = 0x38
|
||||||
|
SF_V9_PC = 0x78
|
||||||
|
SF_V9_RETP = 0x80
|
||||||
|
SF_V9_XARG0 = 0x88
|
||||||
|
SF_V9_XARG1 = 0x90
|
||||||
|
SF_V9_XARG2 = 0x98
|
||||||
|
SF_V9_XARG3 = 0xa0
|
||||||
|
SF_V9_XARG4 = 0xa8
|
||||||
|
SF_V9_XARG5 = 0xb0
|
||||||
|
SF_V9_XXARG = 0xb8
|
||||||
|
SF_XARG0 = 0x44
|
||||||
|
SF_XARG1 = 0x48
|
||||||
|
SF_XARG2 = 0x4c
|
||||||
|
SF_XARG3 = 0x50
|
||||||
|
SF_XARG4 = 0x54
|
||||||
|
SF_XARG5 = 0x58
|
||||||
|
SF_XXARG = 0x5c
|
||||||
SIOCATMARK = 0x8905
|
SIOCATMARK = 0x8905
|
||||||
SIOCGPGRP = 0x8904
|
SIOCGPGRP = 0x8904
|
||||||
SIOCGSTAMPNS_NEW = 0x40108907
|
SIOCGSTAMPNS_NEW = 0x40108907
|
||||||
|
|
14
vendor/golang.org/x/sys/unix/zsyscall_linux.go
generated
vendored
14
vendor/golang.org/x/sys/unix/zsyscall_linux.go
generated
vendored
|
@ -2172,3 +2172,17 @@ func rtSigprocmask(how int, set *Sigset_t, oldset *Sigset_t, sigsetsize uintptr)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func getresuid(ruid *_C_int, euid *_C_int, suid *_C_int) {
|
||||||
|
RawSyscallNoError(SYS_GETRESUID, uintptr(unsafe.Pointer(ruid)), uintptr(unsafe.Pointer(euid)), uintptr(unsafe.Pointer(suid)))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func getresgid(rgid *_C_int, egid *_C_int, sgid *_C_int) {
|
||||||
|
RawSyscallNoError(SYS_GETRESGID, uintptr(unsafe.Pointer(rgid)), uintptr(unsafe.Pointer(egid)), uintptr(unsafe.Pointer(sgid)))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
22
vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go
generated
vendored
22
vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go
generated
vendored
|
@ -519,6 +519,28 @@ var libc_getcwd_trampoline_addr 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 getresuid(ruid *_C_int, euid *_C_int, suid *_C_int) {
|
||||||
|
syscall_rawSyscall(libc_getresuid_trampoline_addr, uintptr(unsafe.Pointer(ruid)), uintptr(unsafe.Pointer(euid)), uintptr(unsafe.Pointer(suid)))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
var libc_getresuid_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_getresuid getresuid "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func getresgid(rgid *_C_int, egid *_C_int, sgid *_C_int) {
|
||||||
|
syscall_rawSyscall(libc_getresgid_trampoline_addr, uintptr(unsafe.Pointer(rgid)), uintptr(unsafe.Pointer(egid)), uintptr(unsafe.Pointer(sgid)))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
var libc_getresgid_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_getresgid getresgid "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
||||||
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
|
10
vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s
generated
vendored
10
vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s
generated
vendored
|
@ -158,6 +158,16 @@ TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $4
|
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $4
|
||||||
DATA ·libc_getcwd_trampoline_addr(SB)/4, $libc_getcwd_trampoline<>(SB)
|
DATA ·libc_getcwd_trampoline_addr(SB)/4, $libc_getcwd_trampoline<>(SB)
|
||||||
|
|
||||||
|
TEXT libc_getresuid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
|
JMP libc_getresuid(SB)
|
||||||
|
GLOBL ·libc_getresuid_trampoline_addr(SB), RODATA, $4
|
||||||
|
DATA ·libc_getresuid_trampoline_addr(SB)/4, $libc_getresuid_trampoline<>(SB)
|
||||||
|
|
||||||
|
TEXT libc_getresgid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
|
JMP libc_getresgid(SB)
|
||||||
|
GLOBL ·libc_getresgid_trampoline_addr(SB), RODATA, $4
|
||||||
|
DATA ·libc_getresgid_trampoline_addr(SB)/4, $libc_getresgid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_ioctl(SB)
|
JMP libc_ioctl(SB)
|
||||||
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $4
|
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $4
|
||||||
|
|
36
vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
generated
vendored
36
vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
generated
vendored
|
@ -519,15 +519,29 @@ var libc_getcwd_trampoline_addr 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 ioctl(fd int, req uint, arg uintptr) (err error) {
|
func getresuid(ruid *_C_int, euid *_C_int, suid *_C_int) {
|
||||||
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
syscall_rawSyscall(libc_getresuid_trampoline_addr, uintptr(unsafe.Pointer(ruid)), uintptr(unsafe.Pointer(euid)), uintptr(unsafe.Pointer(suid)))
|
||||||
if e1 != 0 {
|
|
||||||
err = errnoErr(e1)
|
|
||||||
}
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
var libc_getresuid_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_getresuid getresuid "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func getresgid(rgid *_C_int, egid *_C_int, sgid *_C_int) {
|
||||||
|
syscall_rawSyscall(libc_getresgid_trampoline_addr, uintptr(unsafe.Pointer(rgid)), uintptr(unsafe.Pointer(egid)), uintptr(unsafe.Pointer(sgid)))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
var libc_getresgid_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_getresgid getresgid "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
||||||
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
err = errnoErr(e1)
|
err = errnoErr(e1)
|
||||||
|
@ -541,6 +555,16 @@ var libc_ioctl_trampoline_addr 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 ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
|
||||||
|
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
||||||
|
if e1 != 0 {
|
||||||
|
err = errnoErr(e1)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||||
var _p0 unsafe.Pointer
|
var _p0 unsafe.Pointer
|
||||||
if len(mib) > 0 {
|
if len(mib) > 0 {
|
||||||
|
|
10
vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s
generated
vendored
10
vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s
generated
vendored
|
@ -158,6 +158,16 @@ TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB)
|
DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB)
|
||||||
|
|
||||||
|
TEXT libc_getresuid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
|
JMP libc_getresuid(SB)
|
||||||
|
GLOBL ·libc_getresuid_trampoline_addr(SB), RODATA, $8
|
||||||
|
DATA ·libc_getresuid_trampoline_addr(SB)/8, $libc_getresuid_trampoline<>(SB)
|
||||||
|
|
||||||
|
TEXT libc_getresgid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
|
JMP libc_getresgid(SB)
|
||||||
|
GLOBL ·libc_getresgid_trampoline_addr(SB), RODATA, $8
|
||||||
|
DATA ·libc_getresgid_trampoline_addr(SB)/8, $libc_getresgid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_ioctl(SB)
|
JMP libc_ioctl(SB)
|
||||||
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8
|
||||||
|
|
22
vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go
generated
vendored
22
vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go
generated
vendored
|
@ -519,6 +519,28 @@ var libc_getcwd_trampoline_addr 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 getresuid(ruid *_C_int, euid *_C_int, suid *_C_int) {
|
||||||
|
syscall_rawSyscall(libc_getresuid_trampoline_addr, uintptr(unsafe.Pointer(ruid)), uintptr(unsafe.Pointer(euid)), uintptr(unsafe.Pointer(suid)))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
var libc_getresuid_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_getresuid getresuid "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func getresgid(rgid *_C_int, egid *_C_int, sgid *_C_int) {
|
||||||
|
syscall_rawSyscall(libc_getresgid_trampoline_addr, uintptr(unsafe.Pointer(rgid)), uintptr(unsafe.Pointer(egid)), uintptr(unsafe.Pointer(sgid)))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
var libc_getresgid_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_getresgid getresgid "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
||||||
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
|
10
vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s
generated
vendored
10
vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s
generated
vendored
|
@ -158,6 +158,16 @@ TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $4
|
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $4
|
||||||
DATA ·libc_getcwd_trampoline_addr(SB)/4, $libc_getcwd_trampoline<>(SB)
|
DATA ·libc_getcwd_trampoline_addr(SB)/4, $libc_getcwd_trampoline<>(SB)
|
||||||
|
|
||||||
|
TEXT libc_getresuid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
|
JMP libc_getresuid(SB)
|
||||||
|
GLOBL ·libc_getresuid_trampoline_addr(SB), RODATA, $4
|
||||||
|
DATA ·libc_getresuid_trampoline_addr(SB)/4, $libc_getresuid_trampoline<>(SB)
|
||||||
|
|
||||||
|
TEXT libc_getresgid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
|
JMP libc_getresgid(SB)
|
||||||
|
GLOBL ·libc_getresgid_trampoline_addr(SB), RODATA, $4
|
||||||
|
DATA ·libc_getresgid_trampoline_addr(SB)/4, $libc_getresgid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_ioctl(SB)
|
JMP libc_ioctl(SB)
|
||||||
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $4
|
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $4
|
||||||
|
|
22
vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go
generated
vendored
22
vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go
generated
vendored
|
@ -519,6 +519,28 @@ var libc_getcwd_trampoline_addr 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 getresuid(ruid *_C_int, euid *_C_int, suid *_C_int) {
|
||||||
|
syscall_rawSyscall(libc_getresuid_trampoline_addr, uintptr(unsafe.Pointer(ruid)), uintptr(unsafe.Pointer(euid)), uintptr(unsafe.Pointer(suid)))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
var libc_getresuid_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_getresuid getresuid "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func getresgid(rgid *_C_int, egid *_C_int, sgid *_C_int) {
|
||||||
|
syscall_rawSyscall(libc_getresgid_trampoline_addr, uintptr(unsafe.Pointer(rgid)), uintptr(unsafe.Pointer(egid)), uintptr(unsafe.Pointer(sgid)))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
var libc_getresgid_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_getresgid getresgid "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
||||||
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
|
10
vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s
generated
vendored
10
vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s
generated
vendored
|
@ -158,6 +158,16 @@ TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB)
|
DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB)
|
||||||
|
|
||||||
|
TEXT libc_getresuid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
|
JMP libc_getresuid(SB)
|
||||||
|
GLOBL ·libc_getresuid_trampoline_addr(SB), RODATA, $8
|
||||||
|
DATA ·libc_getresuid_trampoline_addr(SB)/8, $libc_getresuid_trampoline<>(SB)
|
||||||
|
|
||||||
|
TEXT libc_getresgid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
|
JMP libc_getresgid(SB)
|
||||||
|
GLOBL ·libc_getresgid_trampoline_addr(SB), RODATA, $8
|
||||||
|
DATA ·libc_getresgid_trampoline_addr(SB)/8, $libc_getresgid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_ioctl(SB)
|
JMP libc_ioctl(SB)
|
||||||
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8
|
||||||
|
|
22
vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go
generated
vendored
22
vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go
generated
vendored
|
@ -519,6 +519,28 @@ var libc_getcwd_trampoline_addr 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 getresuid(ruid *_C_int, euid *_C_int, suid *_C_int) {
|
||||||
|
syscall_rawSyscall(libc_getresuid_trampoline_addr, uintptr(unsafe.Pointer(ruid)), uintptr(unsafe.Pointer(euid)), uintptr(unsafe.Pointer(suid)))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
var libc_getresuid_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_getresuid getresuid "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func getresgid(rgid *_C_int, egid *_C_int, sgid *_C_int) {
|
||||||
|
syscall_rawSyscall(libc_getresgid_trampoline_addr, uintptr(unsafe.Pointer(rgid)), uintptr(unsafe.Pointer(egid)), uintptr(unsafe.Pointer(sgid)))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
var libc_getresgid_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_getresgid getresgid "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
||||||
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
|
10
vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s
generated
vendored
10
vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s
generated
vendored
|
@ -158,6 +158,16 @@ TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB)
|
DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB)
|
||||||
|
|
||||||
|
TEXT libc_getresuid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
|
JMP libc_getresuid(SB)
|
||||||
|
GLOBL ·libc_getresuid_trampoline_addr(SB), RODATA, $8
|
||||||
|
DATA ·libc_getresuid_trampoline_addr(SB)/8, $libc_getresuid_trampoline<>(SB)
|
||||||
|
|
||||||
|
TEXT libc_getresgid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
|
JMP libc_getresgid(SB)
|
||||||
|
GLOBL ·libc_getresgid_trampoline_addr(SB), RODATA, $8
|
||||||
|
DATA ·libc_getresgid_trampoline_addr(SB)/8, $libc_getresgid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_ioctl(SB)
|
JMP libc_ioctl(SB)
|
||||||
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8
|
||||||
|
|
22
vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go
generated
vendored
22
vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go
generated
vendored
|
@ -519,6 +519,28 @@ var libc_getcwd_trampoline_addr 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 getresuid(ruid *_C_int, euid *_C_int, suid *_C_int) {
|
||||||
|
syscall_rawSyscall(libc_getresuid_trampoline_addr, uintptr(unsafe.Pointer(ruid)), uintptr(unsafe.Pointer(euid)), uintptr(unsafe.Pointer(suid)))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
var libc_getresuid_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_getresuid getresuid "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func getresgid(rgid *_C_int, egid *_C_int, sgid *_C_int) {
|
||||||
|
syscall_rawSyscall(libc_getresgid_trampoline_addr, uintptr(unsafe.Pointer(rgid)), uintptr(unsafe.Pointer(egid)), uintptr(unsafe.Pointer(sgid)))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
var libc_getresgid_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_getresgid getresgid "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
||||||
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
|
12
vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s
generated
vendored
12
vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s
generated
vendored
|
@ -189,6 +189,18 @@ TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB)
|
DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB)
|
||||||
|
|
||||||
|
TEXT libc_getresuid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
|
CALL libc_getresuid(SB)
|
||||||
|
RET
|
||||||
|
GLOBL ·libc_getresuid_trampoline_addr(SB), RODATA, $8
|
||||||
|
DATA ·libc_getresuid_trampoline_addr(SB)/8, $libc_getresuid_trampoline<>(SB)
|
||||||
|
|
||||||
|
TEXT libc_getresgid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
|
CALL libc_getresgid(SB)
|
||||||
|
RET
|
||||||
|
GLOBL ·libc_getresgid_trampoline_addr(SB), RODATA, $8
|
||||||
|
DATA ·libc_getresgid_trampoline_addr(SB)/8, $libc_getresgid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
CALL libc_ioctl(SB)
|
CALL libc_ioctl(SB)
|
||||||
RET
|
RET
|
||||||
|
|
22
vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go
generated
vendored
22
vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go
generated
vendored
|
@ -519,6 +519,28 @@ var libc_getcwd_trampoline_addr 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 getresuid(ruid *_C_int, euid *_C_int, suid *_C_int) {
|
||||||
|
syscall_rawSyscall(libc_getresuid_trampoline_addr, uintptr(unsafe.Pointer(ruid)), uintptr(unsafe.Pointer(euid)), uintptr(unsafe.Pointer(suid)))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
var libc_getresuid_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_getresuid getresuid "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
|
func getresgid(rgid *_C_int, egid *_C_int, sgid *_C_int) {
|
||||||
|
syscall_rawSyscall(libc_getresgid_trampoline_addr, uintptr(unsafe.Pointer(rgid)), uintptr(unsafe.Pointer(egid)), uintptr(unsafe.Pointer(sgid)))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
var libc_getresgid_trampoline_addr uintptr
|
||||||
|
|
||||||
|
//go:cgo_import_dynamic libc_getresgid getresgid "libc.so"
|
||||||
|
|
||||||
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||||
|
|
||||||
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
||||||
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
_, _, e1 := syscall_syscall(libc_ioctl_trampoline_addr, uintptr(fd), uintptr(req), uintptr(arg))
|
||||||
if e1 != 0 {
|
if e1 != 0 {
|
||||||
|
|
10
vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s
generated
vendored
10
vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s
generated
vendored
|
@ -158,6 +158,16 @@ TEXT libc_getcwd_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_getcwd_trampoline_addr(SB), RODATA, $8
|
||||||
DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB)
|
DATA ·libc_getcwd_trampoline_addr(SB)/8, $libc_getcwd_trampoline<>(SB)
|
||||||
|
|
||||||
|
TEXT libc_getresuid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
|
JMP libc_getresuid(SB)
|
||||||
|
GLOBL ·libc_getresuid_trampoline_addr(SB), RODATA, $8
|
||||||
|
DATA ·libc_getresuid_trampoline_addr(SB)/8, $libc_getresuid_trampoline<>(SB)
|
||||||
|
|
||||||
|
TEXT libc_getresgid_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
|
JMP libc_getresgid(SB)
|
||||||
|
GLOBL ·libc_getresgid_trampoline_addr(SB), RODATA, $8
|
||||||
|
DATA ·libc_getresgid_trampoline_addr(SB)/8, $libc_getresgid_trampoline<>(SB)
|
||||||
|
|
||||||
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
|
||||||
JMP libc_ioctl(SB)
|
JMP libc_ioctl(SB)
|
||||||
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8
|
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8
|
||||||
|
|
46
vendor/golang.org/x/sys/unix/ztypes_linux.go
generated
vendored
46
vendor/golang.org/x/sys/unix/ztypes_linux.go
generated
vendored
|
@ -2555,6 +2555,11 @@ const (
|
||||||
BPF_REG_8 = 0x8
|
BPF_REG_8 = 0x8
|
||||||
BPF_REG_9 = 0x9
|
BPF_REG_9 = 0x9
|
||||||
BPF_REG_10 = 0xa
|
BPF_REG_10 = 0xa
|
||||||
|
BPF_CGROUP_ITER_ORDER_UNSPEC = 0x0
|
||||||
|
BPF_CGROUP_ITER_SELF_ONLY = 0x1
|
||||||
|
BPF_CGROUP_ITER_DESCENDANTS_PRE = 0x2
|
||||||
|
BPF_CGROUP_ITER_DESCENDANTS_POST = 0x3
|
||||||
|
BPF_CGROUP_ITER_ANCESTORS_UP = 0x4
|
||||||
BPF_MAP_CREATE = 0x0
|
BPF_MAP_CREATE = 0x0
|
||||||
BPF_MAP_LOOKUP_ELEM = 0x1
|
BPF_MAP_LOOKUP_ELEM = 0x1
|
||||||
BPF_MAP_UPDATE_ELEM = 0x2
|
BPF_MAP_UPDATE_ELEM = 0x2
|
||||||
|
@ -2566,6 +2571,7 @@ const (
|
||||||
BPF_PROG_ATTACH = 0x8
|
BPF_PROG_ATTACH = 0x8
|
||||||
BPF_PROG_DETACH = 0x9
|
BPF_PROG_DETACH = 0x9
|
||||||
BPF_PROG_TEST_RUN = 0xa
|
BPF_PROG_TEST_RUN = 0xa
|
||||||
|
BPF_PROG_RUN = 0xa
|
||||||
BPF_PROG_GET_NEXT_ID = 0xb
|
BPF_PROG_GET_NEXT_ID = 0xb
|
||||||
BPF_MAP_GET_NEXT_ID = 0xc
|
BPF_MAP_GET_NEXT_ID = 0xc
|
||||||
BPF_PROG_GET_FD_BY_ID = 0xd
|
BPF_PROG_GET_FD_BY_ID = 0xd
|
||||||
|
@ -2610,6 +2616,7 @@ const (
|
||||||
BPF_MAP_TYPE_CPUMAP = 0x10
|
BPF_MAP_TYPE_CPUMAP = 0x10
|
||||||
BPF_MAP_TYPE_XSKMAP = 0x11
|
BPF_MAP_TYPE_XSKMAP = 0x11
|
||||||
BPF_MAP_TYPE_SOCKHASH = 0x12
|
BPF_MAP_TYPE_SOCKHASH = 0x12
|
||||||
|
BPF_MAP_TYPE_CGROUP_STORAGE_DEPRECATED = 0x13
|
||||||
BPF_MAP_TYPE_CGROUP_STORAGE = 0x13
|
BPF_MAP_TYPE_CGROUP_STORAGE = 0x13
|
||||||
BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 0x14
|
BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 0x14
|
||||||
BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = 0x15
|
BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = 0x15
|
||||||
|
@ -2620,6 +2627,10 @@ const (
|
||||||
BPF_MAP_TYPE_STRUCT_OPS = 0x1a
|
BPF_MAP_TYPE_STRUCT_OPS = 0x1a
|
||||||
BPF_MAP_TYPE_RINGBUF = 0x1b
|
BPF_MAP_TYPE_RINGBUF = 0x1b
|
||||||
BPF_MAP_TYPE_INODE_STORAGE = 0x1c
|
BPF_MAP_TYPE_INODE_STORAGE = 0x1c
|
||||||
|
BPF_MAP_TYPE_TASK_STORAGE = 0x1d
|
||||||
|
BPF_MAP_TYPE_BLOOM_FILTER = 0x1e
|
||||||
|
BPF_MAP_TYPE_USER_RINGBUF = 0x1f
|
||||||
|
BPF_MAP_TYPE_CGRP_STORAGE = 0x20
|
||||||
BPF_PROG_TYPE_UNSPEC = 0x0
|
BPF_PROG_TYPE_UNSPEC = 0x0
|
||||||
BPF_PROG_TYPE_SOCKET_FILTER = 0x1
|
BPF_PROG_TYPE_SOCKET_FILTER = 0x1
|
||||||
BPF_PROG_TYPE_KPROBE = 0x2
|
BPF_PROG_TYPE_KPROBE = 0x2
|
||||||
|
@ -2651,6 +2662,7 @@ const (
|
||||||
BPF_PROG_TYPE_EXT = 0x1c
|
BPF_PROG_TYPE_EXT = 0x1c
|
||||||
BPF_PROG_TYPE_LSM = 0x1d
|
BPF_PROG_TYPE_LSM = 0x1d
|
||||||
BPF_PROG_TYPE_SK_LOOKUP = 0x1e
|
BPF_PROG_TYPE_SK_LOOKUP = 0x1e
|
||||||
|
BPF_PROG_TYPE_SYSCALL = 0x1f
|
||||||
BPF_CGROUP_INET_INGRESS = 0x0
|
BPF_CGROUP_INET_INGRESS = 0x0
|
||||||
BPF_CGROUP_INET_EGRESS = 0x1
|
BPF_CGROUP_INET_EGRESS = 0x1
|
||||||
BPF_CGROUP_INET_SOCK_CREATE = 0x2
|
BPF_CGROUP_INET_SOCK_CREATE = 0x2
|
||||||
|
@ -2689,6 +2701,12 @@ const (
|
||||||
BPF_XDP_CPUMAP = 0x23
|
BPF_XDP_CPUMAP = 0x23
|
||||||
BPF_SK_LOOKUP = 0x24
|
BPF_SK_LOOKUP = 0x24
|
||||||
BPF_XDP = 0x25
|
BPF_XDP = 0x25
|
||||||
|
BPF_SK_SKB_VERDICT = 0x26
|
||||||
|
BPF_SK_REUSEPORT_SELECT = 0x27
|
||||||
|
BPF_SK_REUSEPORT_SELECT_OR_MIGRATE = 0x28
|
||||||
|
BPF_PERF_EVENT = 0x29
|
||||||
|
BPF_TRACE_KPROBE_MULTI = 0x2a
|
||||||
|
BPF_LSM_CGROUP = 0x2b
|
||||||
BPF_LINK_TYPE_UNSPEC = 0x0
|
BPF_LINK_TYPE_UNSPEC = 0x0
|
||||||
BPF_LINK_TYPE_RAW_TRACEPOINT = 0x1
|
BPF_LINK_TYPE_RAW_TRACEPOINT = 0x1
|
||||||
BPF_LINK_TYPE_TRACING = 0x2
|
BPF_LINK_TYPE_TRACING = 0x2
|
||||||
|
@ -2696,6 +2714,9 @@ const (
|
||||||
BPF_LINK_TYPE_ITER = 0x4
|
BPF_LINK_TYPE_ITER = 0x4
|
||||||
BPF_LINK_TYPE_NETNS = 0x5
|
BPF_LINK_TYPE_NETNS = 0x5
|
||||||
BPF_LINK_TYPE_XDP = 0x6
|
BPF_LINK_TYPE_XDP = 0x6
|
||||||
|
BPF_LINK_TYPE_PERF_EVENT = 0x7
|
||||||
|
BPF_LINK_TYPE_KPROBE_MULTI = 0x8
|
||||||
|
BPF_LINK_TYPE_STRUCT_OPS = 0x9
|
||||||
BPF_ANY = 0x0
|
BPF_ANY = 0x0
|
||||||
BPF_NOEXIST = 0x1
|
BPF_NOEXIST = 0x1
|
||||||
BPF_EXIST = 0x2
|
BPF_EXIST = 0x2
|
||||||
|
@ -2733,6 +2754,7 @@ const (
|
||||||
BPF_F_ZERO_CSUM_TX = 0x2
|
BPF_F_ZERO_CSUM_TX = 0x2
|
||||||
BPF_F_DONT_FRAGMENT = 0x4
|
BPF_F_DONT_FRAGMENT = 0x4
|
||||||
BPF_F_SEQ_NUMBER = 0x8
|
BPF_F_SEQ_NUMBER = 0x8
|
||||||
|
BPF_F_TUNINFO_FLAGS = 0x10
|
||||||
BPF_F_INDEX_MASK = 0xffffffff
|
BPF_F_INDEX_MASK = 0xffffffff
|
||||||
BPF_F_CURRENT_CPU = 0xffffffff
|
BPF_F_CURRENT_CPU = 0xffffffff
|
||||||
BPF_F_CTXLEN_MASK = 0xfffff00000000
|
BPF_F_CTXLEN_MASK = 0xfffff00000000
|
||||||
|
@ -2747,6 +2769,7 @@ const (
|
||||||
BPF_F_ADJ_ROOM_ENCAP_L4_GRE = 0x8
|
BPF_F_ADJ_ROOM_ENCAP_L4_GRE = 0x8
|
||||||
BPF_F_ADJ_ROOM_ENCAP_L4_UDP = 0x10
|
BPF_F_ADJ_ROOM_ENCAP_L4_UDP = 0x10
|
||||||
BPF_F_ADJ_ROOM_NO_CSUM_RESET = 0x20
|
BPF_F_ADJ_ROOM_NO_CSUM_RESET = 0x20
|
||||||
|
BPF_F_ADJ_ROOM_ENCAP_L2_ETH = 0x40
|
||||||
BPF_ADJ_ROOM_ENCAP_L2_MASK = 0xff
|
BPF_ADJ_ROOM_ENCAP_L2_MASK = 0xff
|
||||||
BPF_ADJ_ROOM_ENCAP_L2_SHIFT = 0x38
|
BPF_ADJ_ROOM_ENCAP_L2_SHIFT = 0x38
|
||||||
BPF_F_SYSCTL_BASE_NAME = 0x1
|
BPF_F_SYSCTL_BASE_NAME = 0x1
|
||||||
|
@ -2771,10 +2794,16 @@ const (
|
||||||
BPF_LWT_ENCAP_SEG6 = 0x0
|
BPF_LWT_ENCAP_SEG6 = 0x0
|
||||||
BPF_LWT_ENCAP_SEG6_INLINE = 0x1
|
BPF_LWT_ENCAP_SEG6_INLINE = 0x1
|
||||||
BPF_LWT_ENCAP_IP = 0x2
|
BPF_LWT_ENCAP_IP = 0x2
|
||||||
|
BPF_F_BPRM_SECUREEXEC = 0x1
|
||||||
|
BPF_F_BROADCAST = 0x8
|
||||||
|
BPF_F_EXCLUDE_INGRESS = 0x10
|
||||||
|
BPF_SKB_TSTAMP_UNSPEC = 0x0
|
||||||
|
BPF_SKB_TSTAMP_DELIVERY_MONO = 0x1
|
||||||
BPF_OK = 0x0
|
BPF_OK = 0x0
|
||||||
BPF_DROP = 0x2
|
BPF_DROP = 0x2
|
||||||
BPF_REDIRECT = 0x7
|
BPF_REDIRECT = 0x7
|
||||||
BPF_LWT_REROUTE = 0x80
|
BPF_LWT_REROUTE = 0x80
|
||||||
|
BPF_FLOW_DISSECTOR_CONTINUE = 0x81
|
||||||
BPF_SOCK_OPS_RTO_CB_FLAG = 0x1
|
BPF_SOCK_OPS_RTO_CB_FLAG = 0x1
|
||||||
BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2
|
BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2
|
||||||
BPF_SOCK_OPS_STATE_CB_FLAG = 0x4
|
BPF_SOCK_OPS_STATE_CB_FLAG = 0x4
|
||||||
|
@ -2838,6 +2867,10 @@ const (
|
||||||
BPF_FIB_LKUP_RET_UNSUPP_LWT = 0x6
|
BPF_FIB_LKUP_RET_UNSUPP_LWT = 0x6
|
||||||
BPF_FIB_LKUP_RET_NO_NEIGH = 0x7
|
BPF_FIB_LKUP_RET_NO_NEIGH = 0x7
|
||||||
BPF_FIB_LKUP_RET_FRAG_NEEDED = 0x8
|
BPF_FIB_LKUP_RET_FRAG_NEEDED = 0x8
|
||||||
|
BPF_MTU_CHK_SEGS = 0x1
|
||||||
|
BPF_MTU_CHK_RET_SUCCESS = 0x0
|
||||||
|
BPF_MTU_CHK_RET_FRAG_NEEDED = 0x1
|
||||||
|
BPF_MTU_CHK_RET_SEGS_TOOBIG = 0x2
|
||||||
BPF_FD_TYPE_RAW_TRACEPOINT = 0x0
|
BPF_FD_TYPE_RAW_TRACEPOINT = 0x0
|
||||||
BPF_FD_TYPE_TRACEPOINT = 0x1
|
BPF_FD_TYPE_TRACEPOINT = 0x1
|
||||||
BPF_FD_TYPE_KPROBE = 0x2
|
BPF_FD_TYPE_KPROBE = 0x2
|
||||||
|
@ -2847,6 +2880,19 @@ const (
|
||||||
BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG = 0x1
|
BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG = 0x1
|
||||||
BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL = 0x2
|
BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL = 0x2
|
||||||
BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP = 0x4
|
BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP = 0x4
|
||||||
|
BPF_CORE_FIELD_BYTE_OFFSET = 0x0
|
||||||
|
BPF_CORE_FIELD_BYTE_SIZE = 0x1
|
||||||
|
BPF_CORE_FIELD_EXISTS = 0x2
|
||||||
|
BPF_CORE_FIELD_SIGNED = 0x3
|
||||||
|
BPF_CORE_FIELD_LSHIFT_U64 = 0x4
|
||||||
|
BPF_CORE_FIELD_RSHIFT_U64 = 0x5
|
||||||
|
BPF_CORE_TYPE_ID_LOCAL = 0x6
|
||||||
|
BPF_CORE_TYPE_ID_TARGET = 0x7
|
||||||
|
BPF_CORE_TYPE_EXISTS = 0x8
|
||||||
|
BPF_CORE_TYPE_SIZE = 0x9
|
||||||
|
BPF_CORE_ENUMVAL_EXISTS = 0xa
|
||||||
|
BPF_CORE_ENUMVAL_VALUE = 0xb
|
||||||
|
BPF_CORE_TYPE_MATCHES = 0xc
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
13
vendor/golang.org/x/sys/windows/syscall_windows.go
generated
vendored
13
vendor/golang.org/x/sys/windows/syscall_windows.go
generated
vendored
|
@ -405,7 +405,7 @@ func NewCallbackCDecl(fn interface{}) uintptr {
|
||||||
//sys VerQueryValue(block unsafe.Pointer, subBlock string, pointerToBufferPointer unsafe.Pointer, bufSize *uint32) (err error) = version.VerQueryValueW
|
//sys VerQueryValue(block unsafe.Pointer, subBlock string, pointerToBufferPointer unsafe.Pointer, bufSize *uint32) (err error) = version.VerQueryValueW
|
||||||
|
|
||||||
// Process Status API (PSAPI)
|
// Process Status API (PSAPI)
|
||||||
//sys EnumProcesses(processIds []uint32, bytesReturned *uint32) (err error) = psapi.EnumProcesses
|
//sys enumProcesses(processIds *uint32, nSize uint32, bytesReturned *uint32) (err error) = psapi.EnumProcesses
|
||||||
//sys EnumProcessModules(process Handle, module *Handle, cb uint32, cbNeeded *uint32) (err error) = psapi.EnumProcessModules
|
//sys EnumProcessModules(process Handle, module *Handle, cb uint32, cbNeeded *uint32) (err error) = psapi.EnumProcessModules
|
||||||
//sys EnumProcessModulesEx(process Handle, module *Handle, cb uint32, cbNeeded *uint32, filterFlag uint32) (err error) = psapi.EnumProcessModulesEx
|
//sys EnumProcessModulesEx(process Handle, module *Handle, cb uint32, cbNeeded *uint32, filterFlag uint32) (err error) = psapi.EnumProcessModulesEx
|
||||||
//sys GetModuleInformation(process Handle, module Handle, modinfo *ModuleInfo, cb uint32) (err error) = psapi.GetModuleInformation
|
//sys GetModuleInformation(process Handle, module Handle, modinfo *ModuleInfo, cb uint32) (err error) = psapi.GetModuleInformation
|
||||||
|
@ -1354,6 +1354,17 @@ func SetsockoptIPv6Mreq(fd Handle, level, opt int, mreq *IPv6Mreq) (err error) {
|
||||||
return syscall.EWINDOWS
|
return syscall.EWINDOWS
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func EnumProcesses(processIds []uint32, bytesReturned *uint32) error {
|
||||||
|
// EnumProcesses syscall expects the size parameter to be in bytes, but the code generated with mksyscall uses
|
||||||
|
// the length of the processIds slice instead. Hence, this wrapper function is added to fix the discrepancy.
|
||||||
|
var p *uint32
|
||||||
|
if len(processIds) > 0 {
|
||||||
|
p = &processIds[0]
|
||||||
|
}
|
||||||
|
size := uint32(len(processIds) * 4)
|
||||||
|
return enumProcesses(p, size, bytesReturned)
|
||||||
|
}
|
||||||
|
|
||||||
func Getpid() (pid int) { return int(GetCurrentProcessId()) }
|
func Getpid() (pid int) { return int(GetCurrentProcessId()) }
|
||||||
|
|
||||||
func FindFirstFile(name *uint16, data *Win32finddata) (handle Handle, err error) {
|
func FindFirstFile(name *uint16, data *Win32finddata) (handle Handle, err error) {
|
||||||
|
|
8
vendor/golang.org/x/sys/windows/zsyscall_windows.go
generated
vendored
8
vendor/golang.org/x/sys/windows/zsyscall_windows.go
generated
vendored
|
@ -3516,12 +3516,8 @@ func EnumProcessModulesEx(process Handle, module *Handle, cb uint32, cbNeeded *u
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func EnumProcesses(processIds []uint32, bytesReturned *uint32) (err error) {
|
func enumProcesses(processIds *uint32, nSize uint32, bytesReturned *uint32) (err error) {
|
||||||
var _p0 *uint32
|
r1, _, e1 := syscall.Syscall(procEnumProcesses.Addr(), 3, uintptr(unsafe.Pointer(processIds)), uintptr(nSize), uintptr(unsafe.Pointer(bytesReturned)))
|
||||||
if len(processIds) > 0 {
|
|
||||||
_p0 = &processIds[0]
|
|
||||||
}
|
|
||||||
r1, _, e1 := syscall.Syscall(procEnumProcesses.Addr(), 3, uintptr(unsafe.Pointer(_p0)), uintptr(len(processIds)), uintptr(unsafe.Pointer(bytesReturned)))
|
|
||||||
if r1 == 0 {
|
if r1 == 0 {
|
||||||
err = errnoErr(e1)
|
err = errnoErr(e1)
|
||||||
}
|
}
|
||||||
|
|
6
vendor/modules.txt
vendored
6
vendor/modules.txt
vendored
|
@ -133,7 +133,7 @@ github.com/quic-go/quic-go/quicvarint
|
||||||
## explicit; go 1.16
|
## explicit; go 1.16
|
||||||
github.com/smartystreets/goconvey/convey/gotest
|
github.com/smartystreets/goconvey/convey/gotest
|
||||||
github.com/smartystreets/goconvey/convey/reporting
|
github.com/smartystreets/goconvey/convey/reporting
|
||||||
# golang.org/x/crypto v0.9.0
|
# golang.org/x/crypto v0.10.0
|
||||||
## explicit; go 1.17
|
## explicit; go 1.17
|
||||||
golang.org/x/crypto/blake2b
|
golang.org/x/crypto/blake2b
|
||||||
golang.org/x/crypto/chacha20
|
golang.org/x/crypto/chacha20
|
||||||
|
@ -172,7 +172,7 @@ golang.org/x/net/internal/socks
|
||||||
golang.org/x/net/ipv4
|
golang.org/x/net/ipv4
|
||||||
golang.org/x/net/ipv6
|
golang.org/x/net/ipv6
|
||||||
golang.org/x/net/proxy
|
golang.org/x/net/proxy
|
||||||
# golang.org/x/sys v0.8.0
|
# golang.org/x/sys v0.9.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
|
||||||
|
@ -183,7 +183,7 @@ golang.org/x/sys/windows/registry
|
||||||
golang.org/x/sys/windows/svc
|
golang.org/x/sys/windows/svc
|
||||||
golang.org/x/sys/windows/svc/eventlog
|
golang.org/x/sys/windows/svc/eventlog
|
||||||
golang.org/x/sys/windows/svc/mgr
|
golang.org/x/sys/windows/svc/mgr
|
||||||
# golang.org/x/text v0.9.0
|
# golang.org/x/text v0.10.0
|
||||||
## explicit; go 1.17
|
## explicit; go 1.17
|
||||||
golang.org/x/text/secure/bidirule
|
golang.org/x/text/secure/bidirule
|
||||||
golang.org/x/text/transform
|
golang.org/x/text/transform
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue