bump golang.org/x/sys c990c680b611ac1aeb7d8f2af94a825f98d69720
full diff: 9eafafc0a8...c990c680b6
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
a4a82bb0ee
commit
4e0836f01b
147 changed files with 5242 additions and 1271 deletions
|
@ -13,7 +13,7 @@ github.com/mattn/go-shellwords a72fbe27a1b0ed0df2f027549450
|
|||
github.com/sirupsen/logrus 8bdbc7bcc01dcbb8ec23dc8a28e332258d25251f # v1.4.1
|
||||
github.com/tchap/go-patricia a7f0089c6f496e8e70402f61733606daa326cac5 # v2.3.0
|
||||
golang.org/x/net f3200d17e092c607f615320ecaad13d87ad9a2b3
|
||||
golang.org/x/sys 9eafafc0a87e0fd0aeeba439a4573537970c44c7
|
||||
golang.org/x/sys c990c680b611ac1aeb7d8f2af94a825f98d69720
|
||||
github.com/docker/go-units 519db1ee28dcc9fd2474ae59fca29a810482bfb1 # v0.4.0
|
||||
github.com/docker/go-connections 7395e3f8aa162843a74ed6d48e79627d9792ac55 # v0.4.0
|
||||
golang.org/x/text f21a4dfb5e38f5895301dc265a8def02365cc3d0 # v0.3.0
|
||||
|
|
38
vendor/golang.org/x/sys/cpu/byteorder.go
generated
vendored
38
vendor/golang.org/x/sys/cpu/byteorder.go
generated
vendored
|
@ -5,26 +5,56 @@
|
|||
package cpu
|
||||
|
||||
import (
|
||||
"encoding/binary"
|
||||
"runtime"
|
||||
)
|
||||
|
||||
// byteOrder is a subset of encoding/binary.ByteOrder.
|
||||
type byteOrder interface {
|
||||
Uint32([]byte) uint32
|
||||
Uint64([]byte) uint64
|
||||
}
|
||||
|
||||
type littleEndian struct{}
|
||||
type bigEndian struct{}
|
||||
|
||||
func (littleEndian) Uint32(b []byte) uint32 {
|
||||
_ = b[3] // bounds check hint to compiler; see golang.org/issue/14808
|
||||
return uint32(b[0]) | uint32(b[1])<<8 | uint32(b[2])<<16 | uint32(b[3])<<24
|
||||
}
|
||||
|
||||
func (littleEndian) Uint64(b []byte) uint64 {
|
||||
_ = b[7] // bounds check hint to compiler; see golang.org/issue/14808
|
||||
return uint64(b[0]) | uint64(b[1])<<8 | uint64(b[2])<<16 | uint64(b[3])<<24 |
|
||||
uint64(b[4])<<32 | uint64(b[5])<<40 | uint64(b[6])<<48 | uint64(b[7])<<56
|
||||
}
|
||||
|
||||
func (bigEndian) Uint32(b []byte) uint32 {
|
||||
_ = b[3] // bounds check hint to compiler; see golang.org/issue/14808
|
||||
return uint32(b[3]) | uint32(b[2])<<8 | uint32(b[1])<<16 | uint32(b[0])<<24
|
||||
}
|
||||
|
||||
func (bigEndian) Uint64(b []byte) uint64 {
|
||||
_ = b[7] // bounds check hint to compiler; see golang.org/issue/14808
|
||||
return uint64(b[7]) | uint64(b[6])<<8 | uint64(b[5])<<16 | uint64(b[4])<<24 |
|
||||
uint64(b[3])<<32 | uint64(b[2])<<40 | uint64(b[1])<<48 | uint64(b[0])<<56
|
||||
}
|
||||
|
||||
// hostByteOrder returns binary.LittleEndian on little-endian machines and
|
||||
// binary.BigEndian on big-endian machines.
|
||||
func hostByteOrder() binary.ByteOrder {
|
||||
func hostByteOrder() byteOrder {
|
||||
switch runtime.GOARCH {
|
||||
case "386", "amd64", "amd64p32",
|
||||
"arm", "arm64",
|
||||
"mipsle", "mips64le", "mips64p32le",
|
||||
"ppc64le",
|
||||
"riscv", "riscv64":
|
||||
return binary.LittleEndian
|
||||
return littleEndian{}
|
||||
case "armbe", "arm64be",
|
||||
"mips", "mips64", "mips64p32",
|
||||
"ppc", "ppc64",
|
||||
"s390", "s390x",
|
||||
"sparc", "sparc64":
|
||||
return binary.BigEndian
|
||||
return bigEndian{}
|
||||
}
|
||||
panic("unknown architecture")
|
||||
}
|
||||
|
|
36
vendor/golang.org/x/sys/cpu/cpu.go
generated
vendored
36
vendor/golang.org/x/sys/cpu/cpu.go
generated
vendored
|
@ -78,6 +78,42 @@ var ARM64 struct {
|
|||
_ CacheLinePad
|
||||
}
|
||||
|
||||
// ARM contains the supported CPU features of the current ARM (32-bit) platform.
|
||||
// All feature flags are false if:
|
||||
// 1. the current platform is not arm, or
|
||||
// 2. the current operating system is not Linux.
|
||||
var ARM struct {
|
||||
_ CacheLinePad
|
||||
HasSWP bool // SWP instruction support
|
||||
HasHALF bool // Half-word load and store support
|
||||
HasTHUMB bool // ARM Thumb instruction set
|
||||
Has26BIT bool // Address space limited to 26-bits
|
||||
HasFASTMUL bool // 32-bit operand, 64-bit result multiplication support
|
||||
HasFPA bool // Floating point arithmetic support
|
||||
HasVFP bool // Vector floating point support
|
||||
HasEDSP bool // DSP Extensions support
|
||||
HasJAVA bool // Java instruction set
|
||||
HasIWMMXT bool // Intel Wireless MMX technology support
|
||||
HasCRUNCH bool // MaverickCrunch context switching and handling
|
||||
HasTHUMBEE bool // Thumb EE instruction set
|
||||
HasNEON bool // NEON instruction set
|
||||
HasVFPv3 bool // Vector floating point version 3 support
|
||||
HasVFPv3D16 bool // Vector floating point version 3 D8-D15
|
||||
HasTLS bool // Thread local storage support
|
||||
HasVFPv4 bool // Vector floating point version 4 support
|
||||
HasIDIVA bool // Integer divide instruction support in ARM mode
|
||||
HasIDIVT bool // Integer divide instruction support in Thumb mode
|
||||
HasVFPD32 bool // Vector floating point version 3 D15-D31
|
||||
HasLPAE bool // Large Physical Address Extensions
|
||||
HasEVTSTRM bool // Event stream support
|
||||
HasAES bool // AES hardware implementation
|
||||
HasPMULL bool // Polynomial multiplication instruction set
|
||||
HasSHA1 bool // SHA1 hardware implementation
|
||||
HasSHA2 bool // SHA2 hardware implementation
|
||||
HasCRC32 bool // CRC32 hardware implementation
|
||||
_ CacheLinePad
|
||||
}
|
||||
|
||||
// PPC64 contains the supported CPU features of the current ppc64/ppc64le platforms.
|
||||
// If the current platform is not ppc64/ppc64le then all feature flags are false.
|
||||
//
|
||||
|
|
33
vendor/golang.org/x/sys/cpu/cpu_arm.go
generated
vendored
33
vendor/golang.org/x/sys/cpu/cpu_arm.go
generated
vendored
|
@ -6,4 +6,35 @@ package cpu
|
|||
|
||||
const cacheLineSize = 32
|
||||
|
||||
func doinit() {}
|
||||
// HWCAP/HWCAP2 bits.
|
||||
// These are specific to Linux.
|
||||
const (
|
||||
hwcap_SWP = 1 << 0
|
||||
hwcap_HALF = 1 << 1
|
||||
hwcap_THUMB = 1 << 2
|
||||
hwcap_26BIT = 1 << 3
|
||||
hwcap_FAST_MULT = 1 << 4
|
||||
hwcap_FPA = 1 << 5
|
||||
hwcap_VFP = 1 << 6
|
||||
hwcap_EDSP = 1 << 7
|
||||
hwcap_JAVA = 1 << 8
|
||||
hwcap_IWMMXT = 1 << 9
|
||||
hwcap_CRUNCH = 1 << 10
|
||||
hwcap_THUMBEE = 1 << 11
|
||||
hwcap_NEON = 1 << 12
|
||||
hwcap_VFPv3 = 1 << 13
|
||||
hwcap_VFPv3D16 = 1 << 14
|
||||
hwcap_TLS = 1 << 15
|
||||
hwcap_VFPv4 = 1 << 16
|
||||
hwcap_IDIVA = 1 << 17
|
||||
hwcap_IDIVT = 1 << 18
|
||||
hwcap_VFPD32 = 1 << 19
|
||||
hwcap_LPAE = 1 << 20
|
||||
hwcap_EVTSTRM = 1 << 21
|
||||
|
||||
hwcap2_AES = 1 << 0
|
||||
hwcap2_PMULL = 1 << 1
|
||||
hwcap2_SHA1 = 1 << 2
|
||||
hwcap2_SHA2 = 1 << 3
|
||||
hwcap2_CRC32 = 1 << 4
|
||||
)
|
||||
|
|
2
vendor/golang.org/x/sys/cpu/cpu_linux.go
generated
vendored
2
vendor/golang.org/x/sys/cpu/cpu_linux.go
generated
vendored
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//+build !amd64,!amd64p32,!386
|
||||
// +build !amd64,!amd64p32,!386
|
||||
|
||||
package cpu
|
||||
|
||||
|
|
39
vendor/golang.org/x/sys/cpu/cpu_linux_arm.go
generated
vendored
Normal file
39
vendor/golang.org/x/sys/cpu/cpu_linux_arm.go
generated
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
// Copyright 2019 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package cpu
|
||||
|
||||
func doinit() {
|
||||
ARM.HasSWP = isSet(hwCap, hwcap_SWP)
|
||||
ARM.HasHALF = isSet(hwCap, hwcap_HALF)
|
||||
ARM.HasTHUMB = isSet(hwCap, hwcap_THUMB)
|
||||
ARM.Has26BIT = isSet(hwCap, hwcap_26BIT)
|
||||
ARM.HasFASTMUL = isSet(hwCap, hwcap_FAST_MULT)
|
||||
ARM.HasFPA = isSet(hwCap, hwcap_FPA)
|
||||
ARM.HasVFP = isSet(hwCap, hwcap_VFP)
|
||||
ARM.HasEDSP = isSet(hwCap, hwcap_EDSP)
|
||||
ARM.HasJAVA = isSet(hwCap, hwcap_JAVA)
|
||||
ARM.HasIWMMXT = isSet(hwCap, hwcap_IWMMXT)
|
||||
ARM.HasCRUNCH = isSet(hwCap, hwcap_CRUNCH)
|
||||
ARM.HasTHUMBEE = isSet(hwCap, hwcap_THUMBEE)
|
||||
ARM.HasNEON = isSet(hwCap, hwcap_NEON)
|
||||
ARM.HasVFPv3 = isSet(hwCap, hwcap_VFPv3)
|
||||
ARM.HasVFPv3D16 = isSet(hwCap, hwcap_VFPv3D16)
|
||||
ARM.HasTLS = isSet(hwCap, hwcap_TLS)
|
||||
ARM.HasVFPv4 = isSet(hwCap, hwcap_VFPv4)
|
||||
ARM.HasIDIVA = isSet(hwCap, hwcap_IDIVA)
|
||||
ARM.HasIDIVT = isSet(hwCap, hwcap_IDIVT)
|
||||
ARM.HasVFPD32 = isSet(hwCap, hwcap_VFPD32)
|
||||
ARM.HasLPAE = isSet(hwCap, hwcap_LPAE)
|
||||
ARM.HasEVTSTRM = isSet(hwCap, hwcap_EVTSTRM)
|
||||
ARM.HasAES = isSet(hwCap2, hwcap2_AES)
|
||||
ARM.HasPMULL = isSet(hwCap2, hwcap2_PMULL)
|
||||
ARM.HasSHA1 = isSet(hwCap2, hwcap2_SHA1)
|
||||
ARM.HasSHA2 = isSet(hwCap2, hwcap2_SHA2)
|
||||
ARM.HasCRC32 = isSet(hwCap2, hwcap2_CRC32)
|
||||
}
|
||||
|
||||
func isSet(hwc uint, value uint) bool {
|
||||
return hwc&value != 0
|
||||
}
|
46
vendor/golang.org/x/sys/unix/affinity_linux.go
generated
vendored
46
vendor/golang.org/x/sys/unix/affinity_linux.go
generated
vendored
|
@ -7,6 +7,7 @@
|
|||
package unix
|
||||
|
||||
import (
|
||||
"math/bits"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
|
@ -79,50 +80,7 @@ func (s *CPUSet) IsSet(cpu int) bool {
|
|||
func (s *CPUSet) Count() int {
|
||||
c := 0
|
||||
for _, b := range s {
|
||||
c += onesCount64(uint64(b))
|
||||
c += bits.OnesCount64(uint64(b))
|
||||
}
|
||||
return c
|
||||
}
|
||||
|
||||
// onesCount64 is a copy of Go 1.9's math/bits.OnesCount64.
|
||||
// Once this package can require Go 1.9, we can delete this
|
||||
// and update the caller to use bits.OnesCount64.
|
||||
func onesCount64(x uint64) int {
|
||||
const m0 = 0x5555555555555555 // 01010101 ...
|
||||
const m1 = 0x3333333333333333 // 00110011 ...
|
||||
const m2 = 0x0f0f0f0f0f0f0f0f // 00001111 ...
|
||||
|
||||
// Unused in this function, but definitions preserved for
|
||||
// documentation purposes:
|
||||
//
|
||||
// const m3 = 0x00ff00ff00ff00ff // etc.
|
||||
// const m4 = 0x0000ffff0000ffff
|
||||
//
|
||||
// Implementation: Parallel summing of adjacent bits.
|
||||
// See "Hacker's Delight", Chap. 5: Counting Bits.
|
||||
// The following pattern shows the general approach:
|
||||
//
|
||||
// x = x>>1&(m0&m) + x&(m0&m)
|
||||
// x = x>>2&(m1&m) + x&(m1&m)
|
||||
// x = x>>4&(m2&m) + x&(m2&m)
|
||||
// x = x>>8&(m3&m) + x&(m3&m)
|
||||
// x = x>>16&(m4&m) + x&(m4&m)
|
||||
// x = x>>32&(m5&m) + x&(m5&m)
|
||||
// return int(x)
|
||||
//
|
||||
// Masking (& operations) can be left away when there's no
|
||||
// danger that a field's sum will carry over into the next
|
||||
// field: Since the result cannot be > 64, 8 bits is enough
|
||||
// and we can ignore the masks for the shifts by 8 and up.
|
||||
// Per "Hacker's Delight", the first line can be simplified
|
||||
// more, but it saves at best one instruction, so we leave
|
||||
// it alone for clarity.
|
||||
const m = 1<<64 - 1
|
||||
x = x>>1&(m0&m) + x&(m0&m)
|
||||
x = x>>2&(m1&m) + x&(m1&m)
|
||||
x = (x>>4 + x) & (m2 & m)
|
||||
x += x >> 8
|
||||
x += x >> 16
|
||||
x += x >> 32
|
||||
return int(x) & (1<<7 - 1)
|
||||
}
|
||||
|
|
41
vendor/golang.org/x/sys/unix/ioctl.go
generated
vendored
41
vendor/golang.org/x/sys/unix/ioctl.go
generated
vendored
|
@ -6,7 +6,19 @@
|
|||
|
||||
package unix
|
||||
|
||||
import "runtime"
|
||||
import (
|
||||
"runtime"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
// ioctl itself should not be exposed directly, but additional get/set
|
||||
// functions for specific types are permissible.
|
||||
|
||||
// IoctlSetInt performs an ioctl operation which sets an integer value
|
||||
// on fd, using the specified request number.
|
||||
func IoctlSetInt(fd int, req uint, value int) error {
|
||||
return ioctl(fd, req, uintptr(value))
|
||||
}
|
||||
|
||||
// IoctlSetWinsize performs an ioctl on fd with a *Winsize argument.
|
||||
//
|
||||
|
@ -14,7 +26,7 @@ import "runtime"
|
|||
func IoctlSetWinsize(fd int, req uint, value *Winsize) error {
|
||||
// TODO: if we get the chance, remove the req parameter and
|
||||
// hardcode TIOCSWINSZ.
|
||||
err := ioctlSetWinsize(fd, req, value)
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||
runtime.KeepAlive(value)
|
||||
return err
|
||||
}
|
||||
|
@ -24,7 +36,30 @@ func IoctlSetWinsize(fd int, req uint, value *Winsize) error {
|
|||
// The req value will usually be TCSETA or TIOCSETA.
|
||||
func IoctlSetTermios(fd int, req uint, value *Termios) error {
|
||||
// TODO: if we get the chance, remove the req parameter.
|
||||
err := ioctlSetTermios(fd, req, value)
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||
runtime.KeepAlive(value)
|
||||
return err
|
||||
}
|
||||
|
||||
// IoctlGetInt performs an ioctl operation which gets an integer value
|
||||
// from fd, using the specified request number.
|
||||
//
|
||||
// A few ioctl requests use the return value as an output parameter;
|
||||
// for those, IoctlRetInt should be used instead of this function.
|
||||
func IoctlGetInt(fd int, req uint) (int, error) {
|
||||
var value int
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return value, err
|
||||
}
|
||||
|
||||
func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
|
||||
var value Winsize
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return &value, err
|
||||
}
|
||||
|
||||
func IoctlGetTermios(fd int, req uint) (*Termios, error) {
|
||||
var value Termios
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return &value, err
|
||||
}
|
||||
|
|
39
vendor/golang.org/x/sys/unix/syscall_aix.go
generated
vendored
39
vendor/golang.org/x/sys/unix/syscall_aix.go
generated
vendored
|
@ -350,49 +350,12 @@ func (w WaitStatus) Signal() Signal {
|
|||
|
||||
func (w WaitStatus) Continued() bool { return w&0x01000000 != 0 }
|
||||
|
||||
func (w WaitStatus) CoreDump() bool { return w&0x200 != 0 }
|
||||
func (w WaitStatus) CoreDump() bool { return w&0x80 == 0x80 }
|
||||
|
||||
func (w WaitStatus) TrapCause() int { return -1 }
|
||||
|
||||
//sys ioctl(fd int, req uint, arg uintptr) (err error)
|
||||
|
||||
// ioctl itself should not be exposed directly, but additional get/set
|
||||
// functions for specific types are permissible.
|
||||
|
||||
// IoctlSetInt performs an ioctl operation which sets an integer value
|
||||
// on fd, using the specified request number.
|
||||
func IoctlSetInt(fd int, req uint, value int) error {
|
||||
return ioctl(fd, req, uintptr(value))
|
||||
}
|
||||
|
||||
func ioctlSetWinsize(fd int, req uint, value *Winsize) error {
|
||||
return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||
}
|
||||
|
||||
func ioctlSetTermios(fd int, req uint, value *Termios) error {
|
||||
return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||
}
|
||||
|
||||
// IoctlGetInt performs an ioctl operation which gets an integer value
|
||||
// from fd, using the specified request number.
|
||||
func IoctlGetInt(fd int, req uint) (int, error) {
|
||||
var value int
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return value, err
|
||||
}
|
||||
|
||||
func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
|
||||
var value Winsize
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return &value, err
|
||||
}
|
||||
|
||||
func IoctlGetTermios(fd int, req uint) (*Termios, error) {
|
||||
var value Termios
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return &value, err
|
||||
}
|
||||
|
||||
// fcntl must never be called with cmd=F_DUP2FD because it doesn't work on AIX
|
||||
// There is no way to create a custom fcntl and to keep //sys fcntl easily,
|
||||
// Therefore, the programmer must call dup2 instead of fcntl in this case.
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_aix_ppc.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_aix_ppc.go
generated
vendored
|
@ -29,6 +29,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = int32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go
generated
vendored
|
@ -29,6 +29,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = int32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
2
vendor/golang.org/x/sys/unix/syscall_bsd.go
generated
vendored
2
vendor/golang.org/x/sys/unix/syscall_bsd.go
generated
vendored
|
@ -413,8 +413,6 @@ func Kevent(kq int, changes, events []Kevent_t, timeout *Timespec) (n int, err e
|
|||
return kevent(kq, change, len(changes), event, len(events), timeout)
|
||||
}
|
||||
|
||||
//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
|
||||
|
||||
// sysctlmib translates name to mib number and appends any additional args.
|
||||
func sysctlmib(name string, args ...int) ([]_C_int, error) {
|
||||
// Translate name to mib number.
|
||||
|
|
40
vendor/golang.org/x/sys/unix/syscall_darwin.go
generated
vendored
40
vendor/golang.org/x/sys/unix/syscall_darwin.go
generated
vendored
|
@ -89,7 +89,6 @@ func direntNamlen(buf []byte) (uint64, bool) {
|
|||
return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
|
||||
}
|
||||
|
||||
//sys ptrace(request int, pid int, addr uintptr, data uintptr) (err error)
|
||||
func PtraceAttach(pid int) (err error) { return ptrace(PT_ATTACH, pid, 0, 0) }
|
||||
func PtraceDetach(pid int) (err error) { return ptrace(PT_DETACH, pid, 0, 0) }
|
||||
|
||||
|
@ -340,43 +339,6 @@ func Kill(pid int, signum syscall.Signal) (err error) { return kill(pid, int(sig
|
|||
|
||||
//sys ioctl(fd int, req uint, arg uintptr) (err error)
|
||||
|
||||
// ioctl itself should not be exposed directly, but additional get/set
|
||||
// functions for specific types are permissible.
|
||||
|
||||
// IoctlSetInt performs an ioctl operation which sets an integer value
|
||||
// on fd, using the specified request number.
|
||||
func IoctlSetInt(fd int, req uint, value int) error {
|
||||
return ioctl(fd, req, uintptr(value))
|
||||
}
|
||||
|
||||
func ioctlSetWinsize(fd int, req uint, value *Winsize) error {
|
||||
return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||
}
|
||||
|
||||
func ioctlSetTermios(fd int, req uint, value *Termios) error {
|
||||
return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||
}
|
||||
|
||||
// IoctlGetInt performs an ioctl operation which gets an integer value
|
||||
// from fd, using the specified request number.
|
||||
func IoctlGetInt(fd int, req uint) (int, error) {
|
||||
var value int
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return value, err
|
||||
}
|
||||
|
||||
func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
|
||||
var value Winsize
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return &value, err
|
||||
}
|
||||
|
||||
func IoctlGetTermios(fd int, req uint) (*Termios, error) {
|
||||
var value Termios
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return &value, err
|
||||
}
|
||||
|
||||
func Uname(uname *Utsname) error {
|
||||
mib := []_C_int{CTL_KERN, KERN_OSTYPE}
|
||||
n := unsafe.Sizeof(uname.Sysname)
|
||||
|
@ -498,7 +460,7 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
|
|||
//sys Revoke(path string) (err error)
|
||||
//sys Rmdir(path string) (err error)
|
||||
//sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
|
||||
//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
|
||||
//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
|
||||
//sys Setegid(egid int) (err error)
|
||||
//sysnb Seteuid(euid int) (err error)
|
||||
//sysnb Setgid(gid int) (err error)
|
||||
|
|
7
vendor/golang.org/x/sys/unix/syscall_darwin_386.go
generated
vendored
7
vendor/golang.org/x/sys/unix/syscall_darwin_386.go
generated
vendored
|
@ -10,6 +10,9 @@ import (
|
|||
"syscall"
|
||||
)
|
||||
|
||||
//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
|
||||
//sys ptrace(request int, pid int, addr uintptr, data uintptr) (err error)
|
||||
|
||||
func setTimespec(sec, nsec int64) Timespec {
|
||||
return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
|
||||
}
|
||||
|
@ -43,6 +46,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = int32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
7
vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
generated
vendored
7
vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
generated
vendored
|
@ -10,6 +10,9 @@ import (
|
|||
"syscall"
|
||||
)
|
||||
|
||||
//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
|
||||
//sys ptrace(request int, pid int, addr uintptr, data uintptr) (err error)
|
||||
|
||||
func setTimespec(sec, nsec int64) Timespec {
|
||||
return Timespec{Sec: sec, Nsec: nsec}
|
||||
}
|
||||
|
@ -43,6 +46,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = int32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
12
vendor/golang.org/x/sys/unix/syscall_darwin_arm.go
generated
vendored
12
vendor/golang.org/x/sys/unix/syscall_darwin_arm.go
generated
vendored
|
@ -8,6 +8,14 @@ import (
|
|||
"syscall"
|
||||
)
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) error {
|
||||
return ENOTSUP
|
||||
}
|
||||
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) error {
|
||||
return ENOTSUP
|
||||
}
|
||||
|
||||
func setTimespec(sec, nsec int64) Timespec {
|
||||
return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
|
||||
}
|
||||
|
@ -41,6 +49,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = int32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
12
vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go
generated
vendored
12
vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go
generated
vendored
|
@ -10,6 +10,14 @@ import (
|
|||
"syscall"
|
||||
)
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) error {
|
||||
return ENOTSUP
|
||||
}
|
||||
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) error {
|
||||
return ENOTSUP
|
||||
}
|
||||
|
||||
func setTimespec(sec, nsec int64) Timespec {
|
||||
return Timespec{Sec: sec, Nsec: nsec}
|
||||
}
|
||||
|
@ -43,6 +51,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = int32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
41
vendor/golang.org/x/sys/unix/syscall_dragonfly.go
generated
vendored
41
vendor/golang.org/x/sys/unix/syscall_dragonfly.go
generated
vendored
|
@ -14,6 +14,8 @@ package unix
|
|||
|
||||
import "unsafe"
|
||||
|
||||
//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
|
||||
|
||||
// SockaddrDatalink implements the Sockaddr interface for AF_LINK type sockets.
|
||||
type SockaddrDatalink struct {
|
||||
Len uint8
|
||||
|
@ -150,43 +152,6 @@ func setattrlistTimes(path string, times []Timespec, flags int) error {
|
|||
|
||||
//sys ioctl(fd int, req uint, arg uintptr) (err error)
|
||||
|
||||
// ioctl itself should not be exposed directly, but additional get/set
|
||||
// functions for specific types are permissible.
|
||||
|
||||
// IoctlSetInt performs an ioctl operation which sets an integer value
|
||||
// on fd, using the specified request number.
|
||||
func IoctlSetInt(fd int, req uint, value int) error {
|
||||
return ioctl(fd, req, uintptr(value))
|
||||
}
|
||||
|
||||
func ioctlSetWinsize(fd int, req uint, value *Winsize) error {
|
||||
return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||
}
|
||||
|
||||
func ioctlSetTermios(fd int, req uint, value *Termios) error {
|
||||
return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||
}
|
||||
|
||||
// IoctlGetInt performs an ioctl operation which gets an integer value
|
||||
// from fd, using the specified request number.
|
||||
func IoctlGetInt(fd int, req uint) (int, error) {
|
||||
var value int
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return value, err
|
||||
}
|
||||
|
||||
func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
|
||||
var value Winsize
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return &value, err
|
||||
}
|
||||
|
||||
func IoctlGetTermios(fd int, req uint) (*Termios, error) {
|
||||
var value Termios
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return &value, err
|
||||
}
|
||||
|
||||
func sysctlUname(mib []_C_int, old *byte, oldlen *uintptr) error {
|
||||
err := sysctl(mib, old, oldlen, nil, 0)
|
||||
if err != nil {
|
||||
|
@ -325,7 +290,7 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
|
|||
//sys Revoke(path string) (err error)
|
||||
//sys Rmdir(path string) (err error)
|
||||
//sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
|
||||
//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
|
||||
//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
|
||||
//sysnb Setegid(egid int) (err error)
|
||||
//sysnb Seteuid(euid int) (err error)
|
||||
//sysnb Setgid(gid int) (err error)
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go
generated
vendored
|
@ -33,6 +33,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = int32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
41
vendor/golang.org/x/sys/unix/syscall_freebsd.go
generated
vendored
41
vendor/golang.org/x/sys/unix/syscall_freebsd.go
generated
vendored
|
@ -36,6 +36,8 @@ var (
|
|||
// INO64_FIRST from /usr/src/lib/libc/sys/compat-ino64.h
|
||||
const _ino64First = 1200031
|
||||
|
||||
//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
|
||||
|
||||
func supportsABI(ver uint32) bool {
|
||||
osreldateOnce.Do(func() { osreldate, _ = SysctlUint32("kern.osreldate") })
|
||||
return osreldate >= ver
|
||||
|
@ -201,43 +203,6 @@ func setattrlistTimes(path string, times []Timespec, flags int) error {
|
|||
|
||||
//sys ioctl(fd int, req uint, arg uintptr) (err error)
|
||||
|
||||
// ioctl itself should not be exposed directly, but additional get/set
|
||||
// functions for specific types are permissible.
|
||||
|
||||
// IoctlSetInt performs an ioctl operation which sets an integer value
|
||||
// on fd, using the specified request number.
|
||||
func IoctlSetInt(fd int, req uint, value int) error {
|
||||
return ioctl(fd, req, uintptr(value))
|
||||
}
|
||||
|
||||
func ioctlSetWinsize(fd int, req uint, value *Winsize) error {
|
||||
return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||
}
|
||||
|
||||
func ioctlSetTermios(fd int, req uint, value *Termios) error {
|
||||
return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||
}
|
||||
|
||||
// IoctlGetInt performs an ioctl operation which gets an integer value
|
||||
// from fd, using the specified request number.
|
||||
func IoctlGetInt(fd int, req uint) (int, error) {
|
||||
var value int
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return value, err
|
||||
}
|
||||
|
||||
func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
|
||||
var value Winsize
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return &value, err
|
||||
}
|
||||
|
||||
func IoctlGetTermios(fd int, req uint) (*Termios, error) {
|
||||
var value Termios
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return &value, err
|
||||
}
|
||||
|
||||
func Uname(uname *Utsname) error {
|
||||
mib := []_C_int{CTL_KERN, KERN_OSTYPE}
|
||||
n := unsafe.Sizeof(uname.Sysname)
|
||||
|
@ -688,7 +653,7 @@ func PtraceSingleStep(pid int) (err error) {
|
|||
//sys Revoke(path string) (err error)
|
||||
//sys Rmdir(path string) (err error)
|
||||
//sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
|
||||
//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
|
||||
//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
|
||||
//sysnb Setegid(egid int) (err error)
|
||||
//sysnb Seteuid(euid int) (err error)
|
||||
//sysnb Setgid(gid int) (err error)
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_freebsd_386.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_freebsd_386.go
generated
vendored
|
@ -33,6 +33,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = int32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go
generated
vendored
|
@ -33,6 +33,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = int32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go
generated
vendored
|
@ -33,6 +33,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = int32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go
generated
vendored
|
@ -33,6 +33,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = int32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
158
vendor/golang.org/x/sys/unix/syscall_linux.go
generated
vendored
158
vendor/golang.org/x/sys/unix/syscall_linux.go
generated
vendored
|
@ -71,6 +71,17 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|||
// ioctl itself should not be exposed directly, but additional get/set
|
||||
// functions for specific types are permissible.
|
||||
|
||||
// IoctlRetInt performs an ioctl operation specified by req on a device
|
||||
// associated with opened file descriptor fd, and returns a non-negative
|
||||
// integer that is returned by the ioctl syscall.
|
||||
func IoctlRetInt(fd int, req uint) (int, error) {
|
||||
ret, _, err := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), 0)
|
||||
if err != 0 {
|
||||
return 0, err
|
||||
}
|
||||
return int(ret), nil
|
||||
}
|
||||
|
||||
// IoctlSetPointerInt performs an ioctl operation which sets an
|
||||
// integer value on fd, using the specified request number. The ioctl
|
||||
// argument is called with a pointer to the integer value, rather than
|
||||
|
@ -80,52 +91,18 @@ func IoctlSetPointerInt(fd int, req uint, value int) error {
|
|||
return ioctl(fd, req, uintptr(unsafe.Pointer(&v)))
|
||||
}
|
||||
|
||||
// IoctlSetInt performs an ioctl operation which sets an integer value
|
||||
// on fd, using the specified request number.
|
||||
func IoctlSetInt(fd int, req uint, value int) error {
|
||||
return ioctl(fd, req, uintptr(value))
|
||||
}
|
||||
|
||||
func ioctlSetWinsize(fd int, req uint, value *Winsize) error {
|
||||
return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||
}
|
||||
|
||||
func ioctlSetTermios(fd int, req uint, value *Termios) error {
|
||||
return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||
}
|
||||
|
||||
func IoctlSetRTCTime(fd int, value *RTCTime) error {
|
||||
err := ioctl(fd, RTC_SET_TIME, uintptr(unsafe.Pointer(value)))
|
||||
runtime.KeepAlive(value)
|
||||
return err
|
||||
}
|
||||
|
||||
// IoctlGetInt performs an ioctl operation which gets an integer value
|
||||
// from fd, using the specified request number.
|
||||
func IoctlGetInt(fd int, req uint) (int, error) {
|
||||
var value int
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return value, err
|
||||
}
|
||||
|
||||
func IoctlGetUint32(fd int, req uint) (uint32, error) {
|
||||
var value uint32
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return value, err
|
||||
}
|
||||
|
||||
func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
|
||||
var value Winsize
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return &value, err
|
||||
}
|
||||
|
||||
func IoctlGetTermios(fd int, req uint) (*Termios, error) {
|
||||
var value Termios
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return &value, err
|
||||
}
|
||||
|
||||
func IoctlGetRTCTime(fd int) (*RTCTime, error) {
|
||||
var value RTCTime
|
||||
err := ioctl(fd, RTC_RD_TIME, uintptr(unsafe.Pointer(&value)))
|
||||
|
@ -798,6 +775,70 @@ func (sa *SockaddrPPPoE) sockaddr() (unsafe.Pointer, _Socklen, error) {
|
|||
return unsafe.Pointer(&sa.raw), SizeofSockaddrPPPoX, nil
|
||||
}
|
||||
|
||||
// SockaddrTIPC implements the Sockaddr interface for AF_TIPC type sockets.
|
||||
// For more information on TIPC, see: http://tipc.sourceforge.net/.
|
||||
type SockaddrTIPC struct {
|
||||
// Scope is the publication scopes when binding service/service range.
|
||||
// Should be set to TIPC_CLUSTER_SCOPE or TIPC_NODE_SCOPE.
|
||||
Scope int
|
||||
|
||||
// Addr is the type of address used to manipulate a socket. Addr must be
|
||||
// one of:
|
||||
// - *TIPCSocketAddr: "id" variant in the C addr union
|
||||
// - *TIPCServiceRange: "nameseq" variant in the C addr union
|
||||
// - *TIPCServiceName: "name" variant in the C addr union
|
||||
//
|
||||
// If nil, EINVAL will be returned when the structure is used.
|
||||
Addr TIPCAddr
|
||||
|
||||
raw RawSockaddrTIPC
|
||||
}
|
||||
|
||||
// TIPCAddr is implemented by types that can be used as an address for
|
||||
// SockaddrTIPC. It is only implemented by *TIPCSocketAddr, *TIPCServiceRange,
|
||||
// and *TIPCServiceName.
|
||||
type TIPCAddr interface {
|
||||
tipcAddrtype() uint8
|
||||
tipcAddr() [12]byte
|
||||
}
|
||||
|
||||
func (sa *TIPCSocketAddr) tipcAddr() [12]byte {
|
||||
var out [12]byte
|
||||
copy(out[:], (*(*[unsafe.Sizeof(TIPCSocketAddr{})]byte)(unsafe.Pointer(sa)))[:])
|
||||
return out
|
||||
}
|
||||
|
||||
func (sa *TIPCSocketAddr) tipcAddrtype() uint8 { return TIPC_SOCKET_ADDR }
|
||||
|
||||
func (sa *TIPCServiceRange) tipcAddr() [12]byte {
|
||||
var out [12]byte
|
||||
copy(out[:], (*(*[unsafe.Sizeof(TIPCServiceRange{})]byte)(unsafe.Pointer(sa)))[:])
|
||||
return out
|
||||
}
|
||||
|
||||
func (sa *TIPCServiceRange) tipcAddrtype() uint8 { return TIPC_SERVICE_RANGE }
|
||||
|
||||
func (sa *TIPCServiceName) tipcAddr() [12]byte {
|
||||
var out [12]byte
|
||||
copy(out[:], (*(*[unsafe.Sizeof(TIPCServiceName{})]byte)(unsafe.Pointer(sa)))[:])
|
||||
return out
|
||||
}
|
||||
|
||||
func (sa *TIPCServiceName) tipcAddrtype() uint8 { return TIPC_SERVICE_ADDR }
|
||||
|
||||
func (sa *SockaddrTIPC) sockaddr() (unsafe.Pointer, _Socklen, error) {
|
||||
if sa.Addr == nil {
|
||||
return nil, 0, EINVAL
|
||||
}
|
||||
|
||||
sa.raw.Family = AF_TIPC
|
||||
sa.raw.Scope = int8(sa.Scope)
|
||||
sa.raw.Addrtype = sa.Addr.tipcAddrtype()
|
||||
sa.raw.Addr = sa.Addr.tipcAddr()
|
||||
|
||||
return unsafe.Pointer(&sa.raw), SizeofSockaddrTIPC, nil
|
||||
}
|
||||
|
||||
func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) {
|
||||
switch rsa.Addr.Family {
|
||||
case AF_NETLINK:
|
||||
|
@ -923,6 +964,27 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) {
|
|||
break
|
||||
}
|
||||
}
|
||||
return sa, nil
|
||||
case AF_TIPC:
|
||||
pp := (*RawSockaddrTIPC)(unsafe.Pointer(rsa))
|
||||
|
||||
sa := &SockaddrTIPC{
|
||||
Scope: int(pp.Scope),
|
||||
}
|
||||
|
||||
// Determine which union variant is present in pp.Addr by checking
|
||||
// pp.Addrtype.
|
||||
switch pp.Addrtype {
|
||||
case TIPC_SERVICE_RANGE:
|
||||
sa.Addr = (*TIPCServiceRange)(unsafe.Pointer(&pp.Addr))
|
||||
case TIPC_SERVICE_ADDR:
|
||||
sa.Addr = (*TIPCServiceName)(unsafe.Pointer(&pp.Addr))
|
||||
case TIPC_SOCKET_ADDR:
|
||||
sa.Addr = (*TIPCSocketAddr)(unsafe.Pointer(&pp.Addr))
|
||||
default:
|
||||
return nil, EINVAL
|
||||
}
|
||||
|
||||
return sa, nil
|
||||
}
|
||||
return nil, EAFNOSUPPORT
|
||||
|
@ -1160,6 +1222,34 @@ func KeyctlDHCompute(params *KeyctlDHParams, buffer []byte) (size int, err error
|
|||
return keyctlDH(KEYCTL_DH_COMPUTE, params, buffer)
|
||||
}
|
||||
|
||||
// KeyctlRestrictKeyring implements the KEYCTL_RESTRICT_KEYRING command. This
|
||||
// command limits the set of keys that can be linked to the keyring, regardless
|
||||
// of keyring permissions. The command requires the "setattr" permission.
|
||||
//
|
||||
// When called with an empty keyType the command locks the keyring, preventing
|
||||
// any further keys from being linked to the keyring.
|
||||
//
|
||||
// The "asymmetric" keyType defines restrictions requiring key payloads to be
|
||||
// DER encoded X.509 certificates signed by keys in another keyring. Restrictions
|
||||
// for "asymmetric" include "builtin_trusted", "builtin_and_secondary_trusted",
|
||||
// "key_or_keyring:<key>", and "key_or_keyring:<key>:chain".
|
||||
//
|
||||
// As of Linux 4.12, only the "asymmetric" keyType defines type-specific
|
||||
// restrictions.
|
||||
//
|
||||
// See the full documentation at:
|
||||
// http://man7.org/linux/man-pages/man3/keyctl_restrict_keyring.3.html
|
||||
// http://man7.org/linux/man-pages/man2/keyctl.2.html
|
||||
func KeyctlRestrictKeyring(ringid int, keyType string, restriction string) error {
|
||||
if keyType == "" {
|
||||
return keyctlRestrictKeyring(KEYCTL_RESTRICT_KEYRING, ringid)
|
||||
}
|
||||
return keyctlRestrictKeyringByType(KEYCTL_RESTRICT_KEYRING, ringid, keyType, restriction)
|
||||
}
|
||||
|
||||
//sys keyctlRestrictKeyringByType(cmd int, arg2 int, keyType string, restriction string) (err error) = SYS_KEYCTL
|
||||
//sys keyctlRestrictKeyring(cmd int, arg2 int) (err error) = SYS_KEYCTL
|
||||
|
||||
func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
|
||||
var msg Msghdr
|
||||
var rsa RawSockaddrAny
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_linux_386.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_linux_386.go
generated
vendored
|
@ -372,6 +372,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = uint32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
generated
vendored
|
@ -163,6 +163,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint64(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = uint64(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint64(length)
|
||||
}
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_linux_arm.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_linux_arm.go
generated
vendored
|
@ -252,6 +252,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = uint32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
generated
vendored
|
@ -180,6 +180,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint64(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = uint64(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint64(length)
|
||||
}
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
generated
vendored
|
@ -208,6 +208,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint64(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = uint64(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint64(length)
|
||||
}
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go
generated
vendored
|
@ -220,6 +220,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = uint32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go
generated
vendored
|
@ -91,6 +91,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint64(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = uint64(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint64(length)
|
||||
}
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
generated
vendored
|
@ -179,6 +179,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint64(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = uint64(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint64(length)
|
||||
}
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_linux_s390x.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_linux_s390x.go
generated
vendored
|
@ -120,6 +120,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint64(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = uint64(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint64(length)
|
||||
}
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go
generated
vendored
|
@ -107,6 +107,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint64(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = uint64(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint64(length)
|
||||
}
|
||||
|
|
41
vendor/golang.org/x/sys/unix/syscall_netbsd.go
generated
vendored
41
vendor/golang.org/x/sys/unix/syscall_netbsd.go
generated
vendored
|
@ -18,6 +18,8 @@ import (
|
|||
"unsafe"
|
||||
)
|
||||
|
||||
//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
|
||||
|
||||
// SockaddrDatalink implements the Sockaddr interface for AF_LINK type sockets.
|
||||
type SockaddrDatalink struct {
|
||||
Len uint8
|
||||
|
@ -187,43 +189,6 @@ func setattrlistTimes(path string, times []Timespec, flags int) error {
|
|||
|
||||
//sys ioctl(fd int, req uint, arg uintptr) (err error)
|
||||
|
||||
// ioctl itself should not be exposed directly, but additional get/set
|
||||
// functions for specific types are permissible.
|
||||
|
||||
// IoctlSetInt performs an ioctl operation which sets an integer value
|
||||
// on fd, using the specified request number.
|
||||
func IoctlSetInt(fd int, req uint, value int) error {
|
||||
return ioctl(fd, req, uintptr(value))
|
||||
}
|
||||
|
||||
func ioctlSetWinsize(fd int, req uint, value *Winsize) error {
|
||||
return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||
}
|
||||
|
||||
func ioctlSetTermios(fd int, req uint, value *Termios) error {
|
||||
return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||
}
|
||||
|
||||
// IoctlGetInt performs an ioctl operation which gets an integer value
|
||||
// from fd, using the specified request number.
|
||||
func IoctlGetInt(fd int, req uint) (int, error) {
|
||||
var value int
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return value, err
|
||||
}
|
||||
|
||||
func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
|
||||
var value Winsize
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return &value, err
|
||||
}
|
||||
|
||||
func IoctlGetTermios(fd int, req uint) (*Termios, error) {
|
||||
var value Termios
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return &value, err
|
||||
}
|
||||
|
||||
func IoctlGetPtmget(fd int, req uint) (*Ptmget, error) {
|
||||
var value Ptmget
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
|
@ -365,7 +330,7 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
|
|||
//sys Revoke(path string) (err error)
|
||||
//sys Rmdir(path string) (err error)
|
||||
//sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
|
||||
//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
|
||||
//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
|
||||
//sysnb Setegid(egid int) (err error)
|
||||
//sysnb Seteuid(euid int) (err error)
|
||||
//sysnb Setgid(gid int) (err error)
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_netbsd_386.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_netbsd_386.go
generated
vendored
|
@ -28,6 +28,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = int32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go
generated
vendored
|
@ -28,6 +28,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = int32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go
generated
vendored
|
@ -28,6 +28,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = int32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go
generated
vendored
|
@ -28,6 +28,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = int32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
41
vendor/golang.org/x/sys/unix/syscall_openbsd.go
generated
vendored
41
vendor/golang.org/x/sys/unix/syscall_openbsd.go
generated
vendored
|
@ -18,6 +18,8 @@ import (
|
|||
"unsafe"
|
||||
)
|
||||
|
||||
//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
|
||||
|
||||
// SockaddrDatalink implements the Sockaddr interface for AF_LINK type sockets.
|
||||
type SockaddrDatalink struct {
|
||||
Len uint8
|
||||
|
@ -178,43 +180,6 @@ func setattrlistTimes(path string, times []Timespec, flags int) error {
|
|||
|
||||
//sys ioctl(fd int, req uint, arg uintptr) (err error)
|
||||
|
||||
// ioctl itself should not be exposed directly, but additional get/set
|
||||
// functions for specific types are permissible.
|
||||
|
||||
// IoctlSetInt performs an ioctl operation which sets an integer value
|
||||
// on fd, using the specified request number.
|
||||
func IoctlSetInt(fd int, req uint, value int) error {
|
||||
return ioctl(fd, req, uintptr(value))
|
||||
}
|
||||
|
||||
func ioctlSetWinsize(fd int, req uint, value *Winsize) error {
|
||||
return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||
}
|
||||
|
||||
func ioctlSetTermios(fd int, req uint, value *Termios) error {
|
||||
return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||
}
|
||||
|
||||
// IoctlGetInt performs an ioctl operation which gets an integer value
|
||||
// from fd, using the specified request number.
|
||||
func IoctlGetInt(fd int, req uint) (int, error) {
|
||||
var value int
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return value, err
|
||||
}
|
||||
|
||||
func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
|
||||
var value Winsize
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return &value, err
|
||||
}
|
||||
|
||||
func IoctlGetTermios(fd int, req uint) (*Termios, error) {
|
||||
var value Termios
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return &value, err
|
||||
}
|
||||
|
||||
//sys ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error)
|
||||
|
||||
func Ppoll(fds []PollFd, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
|
||||
|
@ -340,7 +305,7 @@ func Uname(uname *Utsname) error {
|
|||
//sys Revoke(path string) (err error)
|
||||
//sys Rmdir(path string) (err error)
|
||||
//sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
|
||||
//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
|
||||
//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
|
||||
//sysnb Setegid(egid int) (err error)
|
||||
//sysnb Seteuid(euid int) (err error)
|
||||
//sysnb Setgid(gid int) (err error)
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_openbsd_386.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_openbsd_386.go
generated
vendored
|
@ -28,6 +28,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = uint32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go
generated
vendored
|
@ -28,6 +28,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = uint32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go
generated
vendored
|
@ -28,6 +28,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = uint32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go
generated
vendored
|
@ -28,6 +28,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = uint32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
32
vendor/golang.org/x/sys/unix/syscall_solaris.go
generated
vendored
32
vendor/golang.org/x/sys/unix/syscall_solaris.go
generated
vendored
|
@ -553,40 +553,10 @@ func Minor(dev uint64) uint32 {
|
|||
|
||||
//sys ioctl(fd int, req uint, arg uintptr) (err error)
|
||||
|
||||
func IoctlSetInt(fd int, req uint, value int) (err error) {
|
||||
return ioctl(fd, req, uintptr(value))
|
||||
}
|
||||
|
||||
func ioctlSetWinsize(fd int, req uint, value *Winsize) (err error) {
|
||||
return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||
}
|
||||
|
||||
func ioctlSetTermios(fd int, req uint, value *Termios) (err error) {
|
||||
return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||
}
|
||||
|
||||
func IoctlSetTermio(fd int, req uint, value *Termio) (err error) {
|
||||
return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
|
||||
}
|
||||
|
||||
func IoctlGetInt(fd int, req uint) (int, error) {
|
||||
var value int
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return value, err
|
||||
}
|
||||
|
||||
func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
|
||||
var value Winsize
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return &value, err
|
||||
}
|
||||
|
||||
func IoctlGetTermios(fd int, req uint) (*Termios, error) {
|
||||
var value Termios
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
return &value, err
|
||||
}
|
||||
|
||||
func IoctlGetTermio(fd int, req uint) (*Termio, error) {
|
||||
var value Termio
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
|
@ -679,7 +649,7 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
|
|||
//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
|
||||
//sys Rmdir(path string) (err error)
|
||||
//sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = lseek
|
||||
//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
|
||||
//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
|
||||
//sysnb Setegid(egid int) (err error)
|
||||
//sysnb Seteuid(euid int) (err error)
|
||||
//sysnb Setgid(gid int) (err error)
|
||||
|
|
4
vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go
generated
vendored
4
vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go
generated
vendored
|
@ -18,6 +18,10 @@ func (iov *Iovec) SetLen(length int) {
|
|||
iov.Len = uint64(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetIovlen(length int) {
|
||||
msghdr.Iovlen = int32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
3
vendor/golang.org/x/sys/unix/zerrors_darwin_386.go
generated
vendored
3
vendor/golang.org/x/sys/unix/zerrors_darwin_386.go
generated
vendored
|
@ -3,7 +3,7 @@
|
|||
|
||||
// +build 386,darwin
|
||||
|
||||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||
// cgo -godefs -- -m32 _const.go
|
||||
|
||||
package unix
|
||||
|
@ -980,6 +980,7 @@ const (
|
|||
NET_RT_MAXID = 0xa
|
||||
NET_RT_STAT = 0x4
|
||||
NET_RT_TRASH = 0x5
|
||||
NFDBITS = 0x20
|
||||
NL0 = 0x0
|
||||
NL1 = 0x100
|
||||
NL2 = 0x200
|
||||
|
|
3
vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go
generated
vendored
3
vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go
generated
vendored
|
@ -3,7 +3,7 @@
|
|||
|
||||
// +build amd64,darwin
|
||||
|
||||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||
// cgo -godefs -- -m64 _const.go
|
||||
|
||||
package unix
|
||||
|
@ -980,6 +980,7 @@ const (
|
|||
NET_RT_MAXID = 0xa
|
||||
NET_RT_STAT = 0x4
|
||||
NET_RT_TRASH = 0x5
|
||||
NFDBITS = 0x20
|
||||
NL0 = 0x0
|
||||
NL1 = 0x100
|
||||
NL2 = 0x200
|
||||
|
|
3
vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go
generated
vendored
3
vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go
generated
vendored
|
@ -3,7 +3,7 @@
|
|||
|
||||
// +build arm,darwin
|
||||
|
||||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||
// cgo -godefs -- _const.go
|
||||
|
||||
package unix
|
||||
|
@ -980,6 +980,7 @@ const (
|
|||
NET_RT_MAXID = 0xa
|
||||
NET_RT_STAT = 0x4
|
||||
NET_RT_TRASH = 0x5
|
||||
NFDBITS = 0x20
|
||||
NL0 = 0x0
|
||||
NL1 = 0x100
|
||||
NL2 = 0x200
|
||||
|
|
3
vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go
generated
vendored
3
vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go
generated
vendored
|
@ -3,7 +3,7 @@
|
|||
|
||||
// +build arm64,darwin
|
||||
|
||||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||
// cgo -godefs -- -m64 _const.go
|
||||
|
||||
package unix
|
||||
|
@ -980,6 +980,7 @@ const (
|
|||
NET_RT_MAXID = 0xa
|
||||
NET_RT_STAT = 0x4
|
||||
NET_RT_TRASH = 0x5
|
||||
NFDBITS = 0x20
|
||||
NL0 = 0x0
|
||||
NL1 = 0x100
|
||||
NL2 = 0x200
|
||||
|
|
1
vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go
generated
vendored
1
vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go
generated
vendored
|
@ -938,6 +938,7 @@ const (
|
|||
NET_RT_FLAGS = 0x2
|
||||
NET_RT_IFLIST = 0x3
|
||||
NET_RT_MAXID = 0x4
|
||||
NFDBITS = 0x40
|
||||
NOFLSH = 0x80000000
|
||||
NOKERNINFO = 0x2000000
|
||||
NOTE_ATTRIB = 0x8
|
||||
|
|
3
vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go
generated
vendored
3
vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go
generated
vendored
|
@ -3,7 +3,7 @@
|
|||
|
||||
// +build 386,freebsd
|
||||
|
||||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||
// cgo -godefs -- -m32 _const.go
|
||||
|
||||
package unix
|
||||
|
@ -1055,6 +1055,7 @@ const (
|
|||
NET_RT_IFLIST = 0x3
|
||||
NET_RT_IFLISTL = 0x5
|
||||
NET_RT_IFMALIST = 0x4
|
||||
NFDBITS = 0x20
|
||||
NOFLSH = 0x80000000
|
||||
NOKERNINFO = 0x2000000
|
||||
NOTE_ATTRIB = 0x8
|
||||
|
|
3
vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
generated
vendored
3
vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
generated
vendored
|
@ -3,7 +3,7 @@
|
|||
|
||||
// +build amd64,freebsd
|
||||
|
||||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||
// cgo -godefs -- -m64 _const.go
|
||||
|
||||
package unix
|
||||
|
@ -1056,6 +1056,7 @@ const (
|
|||
NET_RT_IFLIST = 0x3
|
||||
NET_RT_IFLISTL = 0x5
|
||||
NET_RT_IFMALIST = 0x4
|
||||
NFDBITS = 0x40
|
||||
NOFLSH = 0x80000000
|
||||
NOKERNINFO = 0x2000000
|
||||
NOTE_ATTRIB = 0x8
|
||||
|
|
3
vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go
generated
vendored
3
vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go
generated
vendored
|
@ -3,7 +3,7 @@
|
|||
|
||||
// +build arm,freebsd
|
||||
|
||||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||
// cgo -godefs -- _const.go
|
||||
|
||||
package unix
|
||||
|
@ -1063,6 +1063,7 @@ const (
|
|||
NET_RT_IFLIST = 0x3
|
||||
NET_RT_IFLISTL = 0x5
|
||||
NET_RT_IFMALIST = 0x4
|
||||
NFDBITS = 0x20
|
||||
NOFLSH = 0x80000000
|
||||
NOKERNINFO = 0x2000000
|
||||
NOTE_ATTRIB = 0x8
|
||||
|
|
3
vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go
generated
vendored
3
vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go
generated
vendored
|
@ -3,7 +3,7 @@
|
|||
|
||||
// +build arm64,freebsd
|
||||
|
||||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||
// cgo -godefs -- -m64 _const.go
|
||||
|
||||
package unix
|
||||
|
@ -1056,6 +1056,7 @@ const (
|
|||
NET_RT_IFLIST = 0x3
|
||||
NET_RT_IFLISTL = 0x5
|
||||
NET_RT_IFMALIST = 0x4
|
||||
NFDBITS = 0x40
|
||||
NOFLSH = 0x80000000
|
||||
NOKERNINFO = 0x2000000
|
||||
NOTE_ATTRIB = 0x8
|
||||
|
|
117
vendor/golang.org/x/sys/unix/zerrors_linux_386.go
generated
vendored
117
vendor/golang.org/x/sys/unix/zerrors_linux_386.go
generated
vendored
|
@ -253,6 +253,7 @@ const (
|
|||
BPF_F_STACK_BUILD_ID = 0x20
|
||||
BPF_F_STRICT_ALIGNMENT = 0x1
|
||||
BPF_F_SYSCTL_BASE_NAME = 0x1
|
||||
BPF_F_TEST_RND_HI32 = 0x4
|
||||
BPF_F_TUNINFO_IPV6 = 0x1
|
||||
BPF_F_USER_BUILD_ID = 0x800
|
||||
BPF_F_USER_STACK = 0x100
|
||||
|
@ -304,9 +305,10 @@ const (
|
|||
BPF_RET = 0x6
|
||||
BPF_RSH = 0x70
|
||||
BPF_SK_STORAGE_GET_F_CREATE = 0x1
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0x7
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0xf
|
||||
BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2
|
||||
BPF_SOCK_OPS_RTO_CB_FLAG = 0x1
|
||||
BPF_SOCK_OPS_RTT_CB_FLAG = 0x8
|
||||
BPF_SOCK_OPS_STATE_CB_FLAG = 0x4
|
||||
BPF_ST = 0x2
|
||||
BPF_STX = 0x3
|
||||
|
@ -460,6 +462,7 @@ const (
|
|||
DAXFS_MAGIC = 0x64646178
|
||||
DEBUGFS_MAGIC = 0x64626720
|
||||
DEVPTS_SUPER_MAGIC = 0x1cd1
|
||||
DMA_BUF_MAGIC = 0x444d4142
|
||||
DT_BLK = 0x6
|
||||
DT_CHR = 0x2
|
||||
DT_DIR = 0x4
|
||||
|
@ -560,6 +563,7 @@ const (
|
|||
ETH_P_IRDA = 0x17
|
||||
ETH_P_LAT = 0x6004
|
||||
ETH_P_LINK_CTL = 0x886c
|
||||
ETH_P_LLDP = 0x88cc
|
||||
ETH_P_LOCALTALK = 0x9
|
||||
ETH_P_LOOP = 0x60
|
||||
ETH_P_LOOPBACK = 0x9000
|
||||
|
@ -722,6 +726,7 @@ const (
|
|||
F_OFD_SETLKW = 0x26
|
||||
F_OK = 0x0
|
||||
F_RDLCK = 0x0
|
||||
F_SEAL_FUTURE_WRITE = 0x10
|
||||
F_SEAL_GROW = 0x4
|
||||
F_SEAL_SEAL = 0x1
|
||||
F_SEAL_SHRINK = 0x2
|
||||
|
@ -987,6 +992,7 @@ const (
|
|||
IPV6_RECVRTHDR = 0x38
|
||||
IPV6_RECVTCLASS = 0x42
|
||||
IPV6_ROUTER_ALERT = 0x16
|
||||
IPV6_ROUTER_ALERT_ISOLATE = 0x1e
|
||||
IPV6_RTHDR = 0x39
|
||||
IPV6_RTHDRDSTOPTS = 0x37
|
||||
IPV6_RTHDR_LOOSE = 0x0
|
||||
|
@ -1085,6 +1091,17 @@ const (
|
|||
KEXEC_PRESERVE_CONTEXT = 0x2
|
||||
KEXEC_SEGMENT_MAX = 0x10
|
||||
KEYCTL_ASSUME_AUTHORITY = 0x10
|
||||
KEYCTL_CAPABILITIES = 0x1f
|
||||
KEYCTL_CAPS0_BIG_KEY = 0x10
|
||||
KEYCTL_CAPS0_CAPABILITIES = 0x1
|
||||
KEYCTL_CAPS0_DIFFIE_HELLMAN = 0x4
|
||||
KEYCTL_CAPS0_INVALIDATE = 0x20
|
||||
KEYCTL_CAPS0_MOVE = 0x80
|
||||
KEYCTL_CAPS0_PERSISTENT_KEYRINGS = 0x2
|
||||
KEYCTL_CAPS0_PUBLIC_KEY = 0x8
|
||||
KEYCTL_CAPS0_RESTRICT_KEYRING = 0x40
|
||||
KEYCTL_CAPS1_NS_KEYRING_NAME = 0x1
|
||||
KEYCTL_CAPS1_NS_KEY_TAG = 0x2
|
||||
KEYCTL_CHOWN = 0x4
|
||||
KEYCTL_CLEAR = 0x7
|
||||
KEYCTL_DESCRIBE = 0x6
|
||||
|
@ -1097,6 +1114,8 @@ const (
|
|||
KEYCTL_INVALIDATE = 0x15
|
||||
KEYCTL_JOIN_SESSION_KEYRING = 0x1
|
||||
KEYCTL_LINK = 0x8
|
||||
KEYCTL_MOVE = 0x1e
|
||||
KEYCTL_MOVE_EXCL = 0x1
|
||||
KEYCTL_NEGATE = 0xd
|
||||
KEYCTL_PKEY_DECRYPT = 0x1a
|
||||
KEYCTL_PKEY_ENCRYPT = 0x19
|
||||
|
@ -1342,6 +1361,7 @@ const (
|
|||
NETLINK_XFRM = 0x6
|
||||
NETNSA_MAX = 0x5
|
||||
NETNSA_NSID_NOT_ASSIGNED = -0x1
|
||||
NFDBITS = 0x20
|
||||
NFNETLINK_V0 = 0x0
|
||||
NFNLGRP_ACCT_QUOTA = 0x8
|
||||
NFNLGRP_CONNTRACK_DESTROY = 0x3
|
||||
|
@ -1406,6 +1426,10 @@ const (
|
|||
NLM_F_ROOT = 0x100
|
||||
NOFLSH = 0x80
|
||||
NSFS_MAGIC = 0x6e736673
|
||||
NS_GET_NSTYPE = 0xb703
|
||||
NS_GET_OWNER_UID = 0xb704
|
||||
NS_GET_PARENT = 0xb702
|
||||
NS_GET_USERNS = 0xb701
|
||||
OCFS2_SUPER_MAGIC = 0x7461636f
|
||||
OCRNL = 0x8
|
||||
OFDEL = 0x80
|
||||
|
@ -1671,6 +1695,8 @@ const (
|
|||
PTRACE_ATTACH = 0x10
|
||||
PTRACE_CONT = 0x7
|
||||
PTRACE_DETACH = 0x11
|
||||
PTRACE_EVENTMSG_SYSCALL_ENTRY = 0x1
|
||||
PTRACE_EVENTMSG_SYSCALL_EXIT = 0x2
|
||||
PTRACE_EVENT_CLONE = 0x3
|
||||
PTRACE_EVENT_EXEC = 0x4
|
||||
PTRACE_EVENT_EXIT = 0x6
|
||||
|
@ -1686,6 +1712,7 @@ const (
|
|||
PTRACE_GETREGSET = 0x4204
|
||||
PTRACE_GETSIGINFO = 0x4202
|
||||
PTRACE_GETSIGMASK = 0x420a
|
||||
PTRACE_GET_SYSCALL_INFO = 0x420e
|
||||
PTRACE_GET_THREAD_AREA = 0x19
|
||||
PTRACE_INTERRUPT = 0x4207
|
||||
PTRACE_KILL = 0x8
|
||||
|
@ -1724,6 +1751,10 @@ const (
|
|||
PTRACE_SINGLEBLOCK = 0x21
|
||||
PTRACE_SINGLESTEP = 0x9
|
||||
PTRACE_SYSCALL = 0x18
|
||||
PTRACE_SYSCALL_INFO_ENTRY = 0x1
|
||||
PTRACE_SYSCALL_INFO_EXIT = 0x2
|
||||
PTRACE_SYSCALL_INFO_NONE = 0x0
|
||||
PTRACE_SYSCALL_INFO_SECCOMP = 0x3
|
||||
PTRACE_SYSEMU = 0x1f
|
||||
PTRACE_SYSEMU_SINGLESTEP = 0x20
|
||||
PTRACE_TRACEME = 0x0
|
||||
|
@ -1784,7 +1815,7 @@ const (
|
|||
RTAX_UNSPEC = 0x0
|
||||
RTAX_WINDOW = 0x3
|
||||
RTA_ALIGNTO = 0x4
|
||||
RTA_MAX = 0x1d
|
||||
RTA_MAX = 0x1e
|
||||
RTCF_DIRECTSRC = 0x4000000
|
||||
RTCF_DOREDIRECT = 0x1000000
|
||||
RTCF_LOG = 0x2000000
|
||||
|
@ -1857,6 +1888,7 @@ const (
|
|||
RTM_DELMDB = 0x55
|
||||
RTM_DELNEIGH = 0x1d
|
||||
RTM_DELNETCONF = 0x51
|
||||
RTM_DELNEXTHOP = 0x69
|
||||
RTM_DELNSID = 0x59
|
||||
RTM_DELQDISC = 0x25
|
||||
RTM_DELROUTE = 0x19
|
||||
|
@ -1881,6 +1913,7 @@ const (
|
|||
RTM_GETNEIGH = 0x1e
|
||||
RTM_GETNEIGHTBL = 0x42
|
||||
RTM_GETNETCONF = 0x52
|
||||
RTM_GETNEXTHOP = 0x6a
|
||||
RTM_GETNSID = 0x5a
|
||||
RTM_GETQDISC = 0x26
|
||||
RTM_GETROUTE = 0x1a
|
||||
|
@ -1888,7 +1921,7 @@ const (
|
|||
RTM_GETSTATS = 0x5e
|
||||
RTM_GETTCLASS = 0x2a
|
||||
RTM_GETTFILTER = 0x2e
|
||||
RTM_MAX = 0x67
|
||||
RTM_MAX = 0x6b
|
||||
RTM_NEWACTION = 0x30
|
||||
RTM_NEWADDR = 0x14
|
||||
RTM_NEWADDRLABEL = 0x48
|
||||
|
@ -1900,6 +1933,7 @@ const (
|
|||
RTM_NEWNEIGH = 0x1c
|
||||
RTM_NEWNEIGHTBL = 0x40
|
||||
RTM_NEWNETCONF = 0x50
|
||||
RTM_NEWNEXTHOP = 0x68
|
||||
RTM_NEWNSID = 0x58
|
||||
RTM_NEWPREFIX = 0x34
|
||||
RTM_NEWQDISC = 0x24
|
||||
|
@ -1908,8 +1942,8 @@ const (
|
|||
RTM_NEWSTATS = 0x5c
|
||||
RTM_NEWTCLASS = 0x28
|
||||
RTM_NEWTFILTER = 0x2c
|
||||
RTM_NR_FAMILIES = 0x16
|
||||
RTM_NR_MSGTYPES = 0x58
|
||||
RTM_NR_FAMILIES = 0x17
|
||||
RTM_NR_MSGTYPES = 0x5c
|
||||
RTM_SETDCB = 0x4f
|
||||
RTM_SETLINK = 0x13
|
||||
RTM_SETNEIGHTBL = 0x43
|
||||
|
@ -1994,6 +2028,8 @@ const (
|
|||
SIOCDRARP = 0x8960
|
||||
SIOCETHTOOL = 0x8946
|
||||
SIOCGARP = 0x8954
|
||||
SIOCGETLINKNAME = 0x89e0
|
||||
SIOCGETNODEID = 0x89e1
|
||||
SIOCGHWTSTAMP = 0x89b1
|
||||
SIOCGIFADDR = 0x8915
|
||||
SIOCGIFBR = 0x8940
|
||||
|
@ -2132,6 +2168,7 @@ const (
|
|||
SO_DEBUG = 0x1
|
||||
SO_DETACH_BPF = 0x1b
|
||||
SO_DETACH_FILTER = 0x1b
|
||||
SO_DETACH_REUSEPORT_BPF = 0x44
|
||||
SO_DOMAIN = 0x27
|
||||
SO_DONTROUTE = 0x5
|
||||
SO_EE_CODE_TXTIME_INVALID_PARAM = 0x1
|
||||
|
@ -2432,6 +2469,71 @@ const (
|
|||
TIOCSTI = 0x5412
|
||||
TIOCSWINSZ = 0x5414
|
||||
TIOCVHANGUP = 0x5437
|
||||
TIPC_ADDR_ID = 0x3
|
||||
TIPC_ADDR_MCAST = 0x1
|
||||
TIPC_ADDR_NAME = 0x2
|
||||
TIPC_ADDR_NAMESEQ = 0x1
|
||||
TIPC_CFG_SRV = 0x0
|
||||
TIPC_CLUSTER_BITS = 0xc
|
||||
TIPC_CLUSTER_MASK = 0xfff000
|
||||
TIPC_CLUSTER_OFFSET = 0xc
|
||||
TIPC_CLUSTER_SIZE = 0xfff
|
||||
TIPC_CONN_SHUTDOWN = 0x5
|
||||
TIPC_CONN_TIMEOUT = 0x82
|
||||
TIPC_CRITICAL_IMPORTANCE = 0x3
|
||||
TIPC_DESTNAME = 0x3
|
||||
TIPC_DEST_DROPPABLE = 0x81
|
||||
TIPC_ERRINFO = 0x1
|
||||
TIPC_ERR_NO_NAME = 0x1
|
||||
TIPC_ERR_NO_NODE = 0x3
|
||||
TIPC_ERR_NO_PORT = 0x2
|
||||
TIPC_ERR_OVERLOAD = 0x4
|
||||
TIPC_GROUP_JOIN = 0x87
|
||||
TIPC_GROUP_LEAVE = 0x88
|
||||
TIPC_GROUP_LOOPBACK = 0x1
|
||||
TIPC_GROUP_MEMBER_EVTS = 0x2
|
||||
TIPC_HIGH_IMPORTANCE = 0x2
|
||||
TIPC_IMPORTANCE = 0x7f
|
||||
TIPC_LINK_STATE = 0x2
|
||||
TIPC_LOW_IMPORTANCE = 0x0
|
||||
TIPC_MAX_BEARER_NAME = 0x20
|
||||
TIPC_MAX_IF_NAME = 0x10
|
||||
TIPC_MAX_LINK_NAME = 0x44
|
||||
TIPC_MAX_MEDIA_NAME = 0x10
|
||||
TIPC_MAX_USER_MSG_SIZE = 0x101d0
|
||||
TIPC_MCAST_BROADCAST = 0x85
|
||||
TIPC_MCAST_REPLICAST = 0x86
|
||||
TIPC_MEDIUM_IMPORTANCE = 0x1
|
||||
TIPC_NODEID_LEN = 0x10
|
||||
TIPC_NODE_BITS = 0xc
|
||||
TIPC_NODE_MASK = 0xfff
|
||||
TIPC_NODE_OFFSET = 0x0
|
||||
TIPC_NODE_RECVQ_DEPTH = 0x83
|
||||
TIPC_NODE_SIZE = 0xfff
|
||||
TIPC_NODE_STATE = 0x0
|
||||
TIPC_OK = 0x0
|
||||
TIPC_PUBLISHED = 0x1
|
||||
TIPC_RESERVED_TYPES = 0x40
|
||||
TIPC_RETDATA = 0x2
|
||||
TIPC_SERVICE_ADDR = 0x2
|
||||
TIPC_SERVICE_RANGE = 0x1
|
||||
TIPC_SOCKET_ADDR = 0x3
|
||||
TIPC_SOCK_RECVQ_DEPTH = 0x84
|
||||
TIPC_SOCK_RECVQ_USED = 0x89
|
||||
TIPC_SRC_DROPPABLE = 0x80
|
||||
TIPC_SUBSCR_TIMEOUT = 0x3
|
||||
TIPC_SUB_CANCEL = 0x4
|
||||
TIPC_SUB_PORTS = 0x1
|
||||
TIPC_SUB_SERVICE = 0x2
|
||||
TIPC_TOP_SRV = 0x1
|
||||
TIPC_WAIT_FOREVER = 0xffffffff
|
||||
TIPC_WITHDRAWN = 0x2
|
||||
TIPC_ZONE_BITS = 0x8
|
||||
TIPC_ZONE_CLUSTER_MASK = 0xfffff000
|
||||
TIPC_ZONE_MASK = 0xff000000
|
||||
TIPC_ZONE_OFFSET = 0x18
|
||||
TIPC_ZONE_SCOPE = 0x1
|
||||
TIPC_ZONE_SIZE = 0xff
|
||||
TMPFS_MAGIC = 0x1021994
|
||||
TOSTOP = 0x100
|
||||
TPACKET_ALIGNMENT = 0x10
|
||||
|
@ -2445,7 +2547,7 @@ const (
|
|||
TP_STATUS_LOSING = 0x4
|
||||
TP_STATUS_SENDING = 0x2
|
||||
TP_STATUS_SEND_REQUEST = 0x1
|
||||
TP_STATUS_TS_RAW_HARDWARE = -0x80000000
|
||||
TP_STATUS_TS_RAW_HARDWARE = 0x80000000
|
||||
TP_STATUS_TS_SOFTWARE = 0x20000000
|
||||
TP_STATUS_TS_SYS_HARDWARE = 0x40000000
|
||||
TP_STATUS_USER = 0x1
|
||||
|
@ -2644,6 +2746,8 @@ const (
|
|||
XDP_FLAGS_SKB_MODE = 0x2
|
||||
XDP_FLAGS_UPDATE_IF_NOEXIST = 0x1
|
||||
XDP_MMAP_OFFSETS = 0x1
|
||||
XDP_OPTIONS = 0x8
|
||||
XDP_OPTIONS_ZEROCOPY = 0x1
|
||||
XDP_PACKET_HEADROOM = 0x100
|
||||
XDP_PGOFF_RX_RING = 0x0
|
||||
XDP_PGOFF_TX_RING = 0x80000000
|
||||
|
@ -2660,6 +2764,7 @@ const (
|
|||
XENFS_SUPER_MAGIC = 0xabba1974
|
||||
XFS_SUPER_MAGIC = 0x58465342
|
||||
XTABS = 0x1800
|
||||
Z3FOLD_MAGIC = 0x33
|
||||
ZSMALLOC_MAGIC = 0x58295829
|
||||
)
|
||||
|
||||
|
|
117
vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
generated
vendored
117
vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
generated
vendored
|
@ -253,6 +253,7 @@ const (
|
|||
BPF_F_STACK_BUILD_ID = 0x20
|
||||
BPF_F_STRICT_ALIGNMENT = 0x1
|
||||
BPF_F_SYSCTL_BASE_NAME = 0x1
|
||||
BPF_F_TEST_RND_HI32 = 0x4
|
||||
BPF_F_TUNINFO_IPV6 = 0x1
|
||||
BPF_F_USER_BUILD_ID = 0x800
|
||||
BPF_F_USER_STACK = 0x100
|
||||
|
@ -304,9 +305,10 @@ const (
|
|||
BPF_RET = 0x6
|
||||
BPF_RSH = 0x70
|
||||
BPF_SK_STORAGE_GET_F_CREATE = 0x1
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0x7
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0xf
|
||||
BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2
|
||||
BPF_SOCK_OPS_RTO_CB_FLAG = 0x1
|
||||
BPF_SOCK_OPS_RTT_CB_FLAG = 0x8
|
||||
BPF_SOCK_OPS_STATE_CB_FLAG = 0x4
|
||||
BPF_ST = 0x2
|
||||
BPF_STX = 0x3
|
||||
|
@ -460,6 +462,7 @@ const (
|
|||
DAXFS_MAGIC = 0x64646178
|
||||
DEBUGFS_MAGIC = 0x64626720
|
||||
DEVPTS_SUPER_MAGIC = 0x1cd1
|
||||
DMA_BUF_MAGIC = 0x444d4142
|
||||
DT_BLK = 0x6
|
||||
DT_CHR = 0x2
|
||||
DT_DIR = 0x4
|
||||
|
@ -560,6 +563,7 @@ const (
|
|||
ETH_P_IRDA = 0x17
|
||||
ETH_P_LAT = 0x6004
|
||||
ETH_P_LINK_CTL = 0x886c
|
||||
ETH_P_LLDP = 0x88cc
|
||||
ETH_P_LOCALTALK = 0x9
|
||||
ETH_P_LOOP = 0x60
|
||||
ETH_P_LOOPBACK = 0x9000
|
||||
|
@ -722,6 +726,7 @@ const (
|
|||
F_OFD_SETLKW = 0x26
|
||||
F_OK = 0x0
|
||||
F_RDLCK = 0x0
|
||||
F_SEAL_FUTURE_WRITE = 0x10
|
||||
F_SEAL_GROW = 0x4
|
||||
F_SEAL_SEAL = 0x1
|
||||
F_SEAL_SHRINK = 0x2
|
||||
|
@ -987,6 +992,7 @@ const (
|
|||
IPV6_RECVRTHDR = 0x38
|
||||
IPV6_RECVTCLASS = 0x42
|
||||
IPV6_ROUTER_ALERT = 0x16
|
||||
IPV6_ROUTER_ALERT_ISOLATE = 0x1e
|
||||
IPV6_RTHDR = 0x39
|
||||
IPV6_RTHDRDSTOPTS = 0x37
|
||||
IPV6_RTHDR_LOOSE = 0x0
|
||||
|
@ -1085,6 +1091,17 @@ const (
|
|||
KEXEC_PRESERVE_CONTEXT = 0x2
|
||||
KEXEC_SEGMENT_MAX = 0x10
|
||||
KEYCTL_ASSUME_AUTHORITY = 0x10
|
||||
KEYCTL_CAPABILITIES = 0x1f
|
||||
KEYCTL_CAPS0_BIG_KEY = 0x10
|
||||
KEYCTL_CAPS0_CAPABILITIES = 0x1
|
||||
KEYCTL_CAPS0_DIFFIE_HELLMAN = 0x4
|
||||
KEYCTL_CAPS0_INVALIDATE = 0x20
|
||||
KEYCTL_CAPS0_MOVE = 0x80
|
||||
KEYCTL_CAPS0_PERSISTENT_KEYRINGS = 0x2
|
||||
KEYCTL_CAPS0_PUBLIC_KEY = 0x8
|
||||
KEYCTL_CAPS0_RESTRICT_KEYRING = 0x40
|
||||
KEYCTL_CAPS1_NS_KEYRING_NAME = 0x1
|
||||
KEYCTL_CAPS1_NS_KEY_TAG = 0x2
|
||||
KEYCTL_CHOWN = 0x4
|
||||
KEYCTL_CLEAR = 0x7
|
||||
KEYCTL_DESCRIBE = 0x6
|
||||
|
@ -1097,6 +1114,8 @@ const (
|
|||
KEYCTL_INVALIDATE = 0x15
|
||||
KEYCTL_JOIN_SESSION_KEYRING = 0x1
|
||||
KEYCTL_LINK = 0x8
|
||||
KEYCTL_MOVE = 0x1e
|
||||
KEYCTL_MOVE_EXCL = 0x1
|
||||
KEYCTL_NEGATE = 0xd
|
||||
KEYCTL_PKEY_DECRYPT = 0x1a
|
||||
KEYCTL_PKEY_ENCRYPT = 0x19
|
||||
|
@ -1342,6 +1361,7 @@ const (
|
|||
NETLINK_XFRM = 0x6
|
||||
NETNSA_MAX = 0x5
|
||||
NETNSA_NSID_NOT_ASSIGNED = -0x1
|
||||
NFDBITS = 0x40
|
||||
NFNETLINK_V0 = 0x0
|
||||
NFNLGRP_ACCT_QUOTA = 0x8
|
||||
NFNLGRP_CONNTRACK_DESTROY = 0x3
|
||||
|
@ -1406,6 +1426,10 @@ const (
|
|||
NLM_F_ROOT = 0x100
|
||||
NOFLSH = 0x80
|
||||
NSFS_MAGIC = 0x6e736673
|
||||
NS_GET_NSTYPE = 0xb703
|
||||
NS_GET_OWNER_UID = 0xb704
|
||||
NS_GET_PARENT = 0xb702
|
||||
NS_GET_USERNS = 0xb701
|
||||
OCFS2_SUPER_MAGIC = 0x7461636f
|
||||
OCRNL = 0x8
|
||||
OFDEL = 0x80
|
||||
|
@ -1672,6 +1696,8 @@ const (
|
|||
PTRACE_ATTACH = 0x10
|
||||
PTRACE_CONT = 0x7
|
||||
PTRACE_DETACH = 0x11
|
||||
PTRACE_EVENTMSG_SYSCALL_ENTRY = 0x1
|
||||
PTRACE_EVENTMSG_SYSCALL_EXIT = 0x2
|
||||
PTRACE_EVENT_CLONE = 0x3
|
||||
PTRACE_EVENT_EXEC = 0x4
|
||||
PTRACE_EVENT_EXIT = 0x6
|
||||
|
@ -1687,6 +1713,7 @@ const (
|
|||
PTRACE_GETREGSET = 0x4204
|
||||
PTRACE_GETSIGINFO = 0x4202
|
||||
PTRACE_GETSIGMASK = 0x420a
|
||||
PTRACE_GET_SYSCALL_INFO = 0x420e
|
||||
PTRACE_GET_THREAD_AREA = 0x19
|
||||
PTRACE_INTERRUPT = 0x4207
|
||||
PTRACE_KILL = 0x8
|
||||
|
@ -1725,6 +1752,10 @@ const (
|
|||
PTRACE_SINGLEBLOCK = 0x21
|
||||
PTRACE_SINGLESTEP = 0x9
|
||||
PTRACE_SYSCALL = 0x18
|
||||
PTRACE_SYSCALL_INFO_ENTRY = 0x1
|
||||
PTRACE_SYSCALL_INFO_EXIT = 0x2
|
||||
PTRACE_SYSCALL_INFO_NONE = 0x0
|
||||
PTRACE_SYSCALL_INFO_SECCOMP = 0x3
|
||||
PTRACE_SYSEMU = 0x1f
|
||||
PTRACE_SYSEMU_SINGLESTEP = 0x20
|
||||
PTRACE_TRACEME = 0x0
|
||||
|
@ -1785,7 +1816,7 @@ const (
|
|||
RTAX_UNSPEC = 0x0
|
||||
RTAX_WINDOW = 0x3
|
||||
RTA_ALIGNTO = 0x4
|
||||
RTA_MAX = 0x1d
|
||||
RTA_MAX = 0x1e
|
||||
RTCF_DIRECTSRC = 0x4000000
|
||||
RTCF_DOREDIRECT = 0x1000000
|
||||
RTCF_LOG = 0x2000000
|
||||
|
@ -1858,6 +1889,7 @@ const (
|
|||
RTM_DELMDB = 0x55
|
||||
RTM_DELNEIGH = 0x1d
|
||||
RTM_DELNETCONF = 0x51
|
||||
RTM_DELNEXTHOP = 0x69
|
||||
RTM_DELNSID = 0x59
|
||||
RTM_DELQDISC = 0x25
|
||||
RTM_DELROUTE = 0x19
|
||||
|
@ -1882,6 +1914,7 @@ const (
|
|||
RTM_GETNEIGH = 0x1e
|
||||
RTM_GETNEIGHTBL = 0x42
|
||||
RTM_GETNETCONF = 0x52
|
||||
RTM_GETNEXTHOP = 0x6a
|
||||
RTM_GETNSID = 0x5a
|
||||
RTM_GETQDISC = 0x26
|
||||
RTM_GETROUTE = 0x1a
|
||||
|
@ -1889,7 +1922,7 @@ const (
|
|||
RTM_GETSTATS = 0x5e
|
||||
RTM_GETTCLASS = 0x2a
|
||||
RTM_GETTFILTER = 0x2e
|
||||
RTM_MAX = 0x67
|
||||
RTM_MAX = 0x6b
|
||||
RTM_NEWACTION = 0x30
|
||||
RTM_NEWADDR = 0x14
|
||||
RTM_NEWADDRLABEL = 0x48
|
||||
|
@ -1901,6 +1934,7 @@ const (
|
|||
RTM_NEWNEIGH = 0x1c
|
||||
RTM_NEWNEIGHTBL = 0x40
|
||||
RTM_NEWNETCONF = 0x50
|
||||
RTM_NEWNEXTHOP = 0x68
|
||||
RTM_NEWNSID = 0x58
|
||||
RTM_NEWPREFIX = 0x34
|
||||
RTM_NEWQDISC = 0x24
|
||||
|
@ -1909,8 +1943,8 @@ const (
|
|||
RTM_NEWSTATS = 0x5c
|
||||
RTM_NEWTCLASS = 0x28
|
||||
RTM_NEWTFILTER = 0x2c
|
||||
RTM_NR_FAMILIES = 0x16
|
||||
RTM_NR_MSGTYPES = 0x58
|
||||
RTM_NR_FAMILIES = 0x17
|
||||
RTM_NR_MSGTYPES = 0x5c
|
||||
RTM_SETDCB = 0x4f
|
||||
RTM_SETLINK = 0x13
|
||||
RTM_SETNEIGHTBL = 0x43
|
||||
|
@ -1995,6 +2029,8 @@ const (
|
|||
SIOCDRARP = 0x8960
|
||||
SIOCETHTOOL = 0x8946
|
||||
SIOCGARP = 0x8954
|
||||
SIOCGETLINKNAME = 0x89e0
|
||||
SIOCGETNODEID = 0x89e1
|
||||
SIOCGHWTSTAMP = 0x89b1
|
||||
SIOCGIFADDR = 0x8915
|
||||
SIOCGIFBR = 0x8940
|
||||
|
@ -2133,6 +2169,7 @@ const (
|
|||
SO_DEBUG = 0x1
|
||||
SO_DETACH_BPF = 0x1b
|
||||
SO_DETACH_FILTER = 0x1b
|
||||
SO_DETACH_REUSEPORT_BPF = 0x44
|
||||
SO_DOMAIN = 0x27
|
||||
SO_DONTROUTE = 0x5
|
||||
SO_EE_CODE_TXTIME_INVALID_PARAM = 0x1
|
||||
|
@ -2433,6 +2470,71 @@ const (
|
|||
TIOCSTI = 0x5412
|
||||
TIOCSWINSZ = 0x5414
|
||||
TIOCVHANGUP = 0x5437
|
||||
TIPC_ADDR_ID = 0x3
|
||||
TIPC_ADDR_MCAST = 0x1
|
||||
TIPC_ADDR_NAME = 0x2
|
||||
TIPC_ADDR_NAMESEQ = 0x1
|
||||
TIPC_CFG_SRV = 0x0
|
||||
TIPC_CLUSTER_BITS = 0xc
|
||||
TIPC_CLUSTER_MASK = 0xfff000
|
||||
TIPC_CLUSTER_OFFSET = 0xc
|
||||
TIPC_CLUSTER_SIZE = 0xfff
|
||||
TIPC_CONN_SHUTDOWN = 0x5
|
||||
TIPC_CONN_TIMEOUT = 0x82
|
||||
TIPC_CRITICAL_IMPORTANCE = 0x3
|
||||
TIPC_DESTNAME = 0x3
|
||||
TIPC_DEST_DROPPABLE = 0x81
|
||||
TIPC_ERRINFO = 0x1
|
||||
TIPC_ERR_NO_NAME = 0x1
|
||||
TIPC_ERR_NO_NODE = 0x3
|
||||
TIPC_ERR_NO_PORT = 0x2
|
||||
TIPC_ERR_OVERLOAD = 0x4
|
||||
TIPC_GROUP_JOIN = 0x87
|
||||
TIPC_GROUP_LEAVE = 0x88
|
||||
TIPC_GROUP_LOOPBACK = 0x1
|
||||
TIPC_GROUP_MEMBER_EVTS = 0x2
|
||||
TIPC_HIGH_IMPORTANCE = 0x2
|
||||
TIPC_IMPORTANCE = 0x7f
|
||||
TIPC_LINK_STATE = 0x2
|
||||
TIPC_LOW_IMPORTANCE = 0x0
|
||||
TIPC_MAX_BEARER_NAME = 0x20
|
||||
TIPC_MAX_IF_NAME = 0x10
|
||||
TIPC_MAX_LINK_NAME = 0x44
|
||||
TIPC_MAX_MEDIA_NAME = 0x10
|
||||
TIPC_MAX_USER_MSG_SIZE = 0x101d0
|
||||
TIPC_MCAST_BROADCAST = 0x85
|
||||
TIPC_MCAST_REPLICAST = 0x86
|
||||
TIPC_MEDIUM_IMPORTANCE = 0x1
|
||||
TIPC_NODEID_LEN = 0x10
|
||||
TIPC_NODE_BITS = 0xc
|
||||
TIPC_NODE_MASK = 0xfff
|
||||
TIPC_NODE_OFFSET = 0x0
|
||||
TIPC_NODE_RECVQ_DEPTH = 0x83
|
||||
TIPC_NODE_SIZE = 0xfff
|
||||
TIPC_NODE_STATE = 0x0
|
||||
TIPC_OK = 0x0
|
||||
TIPC_PUBLISHED = 0x1
|
||||
TIPC_RESERVED_TYPES = 0x40
|
||||
TIPC_RETDATA = 0x2
|
||||
TIPC_SERVICE_ADDR = 0x2
|
||||
TIPC_SERVICE_RANGE = 0x1
|
||||
TIPC_SOCKET_ADDR = 0x3
|
||||
TIPC_SOCK_RECVQ_DEPTH = 0x84
|
||||
TIPC_SOCK_RECVQ_USED = 0x89
|
||||
TIPC_SRC_DROPPABLE = 0x80
|
||||
TIPC_SUBSCR_TIMEOUT = 0x3
|
||||
TIPC_SUB_CANCEL = 0x4
|
||||
TIPC_SUB_PORTS = 0x1
|
||||
TIPC_SUB_SERVICE = 0x2
|
||||
TIPC_TOP_SRV = 0x1
|
||||
TIPC_WAIT_FOREVER = 0xffffffff
|
||||
TIPC_WITHDRAWN = 0x2
|
||||
TIPC_ZONE_BITS = 0x8
|
||||
TIPC_ZONE_CLUSTER_MASK = 0xfffff000
|
||||
TIPC_ZONE_MASK = 0xff000000
|
||||
TIPC_ZONE_OFFSET = 0x18
|
||||
TIPC_ZONE_SCOPE = 0x1
|
||||
TIPC_ZONE_SIZE = 0xff
|
||||
TMPFS_MAGIC = 0x1021994
|
||||
TOSTOP = 0x100
|
||||
TPACKET_ALIGNMENT = 0x10
|
||||
|
@ -2446,7 +2548,7 @@ const (
|
|||
TP_STATUS_LOSING = 0x4
|
||||
TP_STATUS_SENDING = 0x2
|
||||
TP_STATUS_SEND_REQUEST = 0x1
|
||||
TP_STATUS_TS_RAW_HARDWARE = -0x80000000
|
||||
TP_STATUS_TS_RAW_HARDWARE = 0x80000000
|
||||
TP_STATUS_TS_SOFTWARE = 0x20000000
|
||||
TP_STATUS_TS_SYS_HARDWARE = 0x40000000
|
||||
TP_STATUS_USER = 0x1
|
||||
|
@ -2644,6 +2746,8 @@ const (
|
|||
XDP_FLAGS_SKB_MODE = 0x2
|
||||
XDP_FLAGS_UPDATE_IF_NOEXIST = 0x1
|
||||
XDP_MMAP_OFFSETS = 0x1
|
||||
XDP_OPTIONS = 0x8
|
||||
XDP_OPTIONS_ZEROCOPY = 0x1
|
||||
XDP_PACKET_HEADROOM = 0x100
|
||||
XDP_PGOFF_RX_RING = 0x0
|
||||
XDP_PGOFF_TX_RING = 0x80000000
|
||||
|
@ -2660,6 +2764,7 @@ const (
|
|||
XENFS_SUPER_MAGIC = 0xabba1974
|
||||
XFS_SUPER_MAGIC = 0x58465342
|
||||
XTABS = 0x1800
|
||||
Z3FOLD_MAGIC = 0x33
|
||||
ZSMALLOC_MAGIC = 0x58295829
|
||||
)
|
||||
|
||||
|
|
117
vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
generated
vendored
117
vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
generated
vendored
|
@ -253,6 +253,7 @@ const (
|
|||
BPF_F_STACK_BUILD_ID = 0x20
|
||||
BPF_F_STRICT_ALIGNMENT = 0x1
|
||||
BPF_F_SYSCTL_BASE_NAME = 0x1
|
||||
BPF_F_TEST_RND_HI32 = 0x4
|
||||
BPF_F_TUNINFO_IPV6 = 0x1
|
||||
BPF_F_USER_BUILD_ID = 0x800
|
||||
BPF_F_USER_STACK = 0x100
|
||||
|
@ -304,9 +305,10 @@ const (
|
|||
BPF_RET = 0x6
|
||||
BPF_RSH = 0x70
|
||||
BPF_SK_STORAGE_GET_F_CREATE = 0x1
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0x7
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0xf
|
||||
BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2
|
||||
BPF_SOCK_OPS_RTO_CB_FLAG = 0x1
|
||||
BPF_SOCK_OPS_RTT_CB_FLAG = 0x8
|
||||
BPF_SOCK_OPS_STATE_CB_FLAG = 0x4
|
||||
BPF_ST = 0x2
|
||||
BPF_STX = 0x3
|
||||
|
@ -460,6 +462,7 @@ const (
|
|||
DAXFS_MAGIC = 0x64646178
|
||||
DEBUGFS_MAGIC = 0x64626720
|
||||
DEVPTS_SUPER_MAGIC = 0x1cd1
|
||||
DMA_BUF_MAGIC = 0x444d4142
|
||||
DT_BLK = 0x6
|
||||
DT_CHR = 0x2
|
||||
DT_DIR = 0x4
|
||||
|
@ -560,6 +563,7 @@ const (
|
|||
ETH_P_IRDA = 0x17
|
||||
ETH_P_LAT = 0x6004
|
||||
ETH_P_LINK_CTL = 0x886c
|
||||
ETH_P_LLDP = 0x88cc
|
||||
ETH_P_LOCALTALK = 0x9
|
||||
ETH_P_LOOP = 0x60
|
||||
ETH_P_LOOPBACK = 0x9000
|
||||
|
@ -721,6 +725,7 @@ const (
|
|||
F_OFD_SETLKW = 0x26
|
||||
F_OK = 0x0
|
||||
F_RDLCK = 0x0
|
||||
F_SEAL_FUTURE_WRITE = 0x10
|
||||
F_SEAL_GROW = 0x4
|
||||
F_SEAL_SEAL = 0x1
|
||||
F_SEAL_SHRINK = 0x2
|
||||
|
@ -986,6 +991,7 @@ const (
|
|||
IPV6_RECVRTHDR = 0x38
|
||||
IPV6_RECVTCLASS = 0x42
|
||||
IPV6_ROUTER_ALERT = 0x16
|
||||
IPV6_ROUTER_ALERT_ISOLATE = 0x1e
|
||||
IPV6_RTHDR = 0x39
|
||||
IPV6_RTHDRDSTOPTS = 0x37
|
||||
IPV6_RTHDR_LOOSE = 0x0
|
||||
|
@ -1084,6 +1090,17 @@ const (
|
|||
KEXEC_PRESERVE_CONTEXT = 0x2
|
||||
KEXEC_SEGMENT_MAX = 0x10
|
||||
KEYCTL_ASSUME_AUTHORITY = 0x10
|
||||
KEYCTL_CAPABILITIES = 0x1f
|
||||
KEYCTL_CAPS0_BIG_KEY = 0x10
|
||||
KEYCTL_CAPS0_CAPABILITIES = 0x1
|
||||
KEYCTL_CAPS0_DIFFIE_HELLMAN = 0x4
|
||||
KEYCTL_CAPS0_INVALIDATE = 0x20
|
||||
KEYCTL_CAPS0_MOVE = 0x80
|
||||
KEYCTL_CAPS0_PERSISTENT_KEYRINGS = 0x2
|
||||
KEYCTL_CAPS0_PUBLIC_KEY = 0x8
|
||||
KEYCTL_CAPS0_RESTRICT_KEYRING = 0x40
|
||||
KEYCTL_CAPS1_NS_KEYRING_NAME = 0x1
|
||||
KEYCTL_CAPS1_NS_KEY_TAG = 0x2
|
||||
KEYCTL_CHOWN = 0x4
|
||||
KEYCTL_CLEAR = 0x7
|
||||
KEYCTL_DESCRIBE = 0x6
|
||||
|
@ -1096,6 +1113,8 @@ const (
|
|||
KEYCTL_INVALIDATE = 0x15
|
||||
KEYCTL_JOIN_SESSION_KEYRING = 0x1
|
||||
KEYCTL_LINK = 0x8
|
||||
KEYCTL_MOVE = 0x1e
|
||||
KEYCTL_MOVE_EXCL = 0x1
|
||||
KEYCTL_NEGATE = 0xd
|
||||
KEYCTL_PKEY_DECRYPT = 0x1a
|
||||
KEYCTL_PKEY_ENCRYPT = 0x19
|
||||
|
@ -1340,6 +1359,7 @@ const (
|
|||
NETLINK_XFRM = 0x6
|
||||
NETNSA_MAX = 0x5
|
||||
NETNSA_NSID_NOT_ASSIGNED = -0x1
|
||||
NFDBITS = 0x20
|
||||
NFNETLINK_V0 = 0x0
|
||||
NFNLGRP_ACCT_QUOTA = 0x8
|
||||
NFNLGRP_CONNTRACK_DESTROY = 0x3
|
||||
|
@ -1404,6 +1424,10 @@ const (
|
|||
NLM_F_ROOT = 0x100
|
||||
NOFLSH = 0x80
|
||||
NSFS_MAGIC = 0x6e736673
|
||||
NS_GET_NSTYPE = 0xb703
|
||||
NS_GET_OWNER_UID = 0xb704
|
||||
NS_GET_PARENT = 0xb702
|
||||
NS_GET_USERNS = 0xb701
|
||||
OCFS2_SUPER_MAGIC = 0x7461636f
|
||||
OCRNL = 0x8
|
||||
OFDEL = 0x80
|
||||
|
@ -1669,6 +1693,8 @@ const (
|
|||
PTRACE_ATTACH = 0x10
|
||||
PTRACE_CONT = 0x7
|
||||
PTRACE_DETACH = 0x11
|
||||
PTRACE_EVENTMSG_SYSCALL_ENTRY = 0x1
|
||||
PTRACE_EVENTMSG_SYSCALL_EXIT = 0x2
|
||||
PTRACE_EVENT_CLONE = 0x3
|
||||
PTRACE_EVENT_EXEC = 0x4
|
||||
PTRACE_EVENT_EXIT = 0x6
|
||||
|
@ -1690,6 +1716,7 @@ const (
|
|||
PTRACE_GETSIGMASK = 0x420a
|
||||
PTRACE_GETVFPREGS = 0x1b
|
||||
PTRACE_GETWMMXREGS = 0x12
|
||||
PTRACE_GET_SYSCALL_INFO = 0x420e
|
||||
PTRACE_GET_THREAD_AREA = 0x16
|
||||
PTRACE_INTERRUPT = 0x4207
|
||||
PTRACE_KILL = 0x8
|
||||
|
@ -1730,6 +1757,10 @@ const (
|
|||
PTRACE_SET_SYSCALL = 0x17
|
||||
PTRACE_SINGLESTEP = 0x9
|
||||
PTRACE_SYSCALL = 0x18
|
||||
PTRACE_SYSCALL_INFO_ENTRY = 0x1
|
||||
PTRACE_SYSCALL_INFO_EXIT = 0x2
|
||||
PTRACE_SYSCALL_INFO_NONE = 0x0
|
||||
PTRACE_SYSCALL_INFO_SECCOMP = 0x3
|
||||
PTRACE_TRACEME = 0x0
|
||||
PT_DATA_ADDR = 0x10004
|
||||
PT_TEXT_ADDR = 0x10000
|
||||
|
@ -1791,7 +1822,7 @@ const (
|
|||
RTAX_UNSPEC = 0x0
|
||||
RTAX_WINDOW = 0x3
|
||||
RTA_ALIGNTO = 0x4
|
||||
RTA_MAX = 0x1d
|
||||
RTA_MAX = 0x1e
|
||||
RTCF_DIRECTSRC = 0x4000000
|
||||
RTCF_DOREDIRECT = 0x1000000
|
||||
RTCF_LOG = 0x2000000
|
||||
|
@ -1864,6 +1895,7 @@ const (
|
|||
RTM_DELMDB = 0x55
|
||||
RTM_DELNEIGH = 0x1d
|
||||
RTM_DELNETCONF = 0x51
|
||||
RTM_DELNEXTHOP = 0x69
|
||||
RTM_DELNSID = 0x59
|
||||
RTM_DELQDISC = 0x25
|
||||
RTM_DELROUTE = 0x19
|
||||
|
@ -1888,6 +1920,7 @@ const (
|
|||
RTM_GETNEIGH = 0x1e
|
||||
RTM_GETNEIGHTBL = 0x42
|
||||
RTM_GETNETCONF = 0x52
|
||||
RTM_GETNEXTHOP = 0x6a
|
||||
RTM_GETNSID = 0x5a
|
||||
RTM_GETQDISC = 0x26
|
||||
RTM_GETROUTE = 0x1a
|
||||
|
@ -1895,7 +1928,7 @@ const (
|
|||
RTM_GETSTATS = 0x5e
|
||||
RTM_GETTCLASS = 0x2a
|
||||
RTM_GETTFILTER = 0x2e
|
||||
RTM_MAX = 0x67
|
||||
RTM_MAX = 0x6b
|
||||
RTM_NEWACTION = 0x30
|
||||
RTM_NEWADDR = 0x14
|
||||
RTM_NEWADDRLABEL = 0x48
|
||||
|
@ -1907,6 +1940,7 @@ const (
|
|||
RTM_NEWNEIGH = 0x1c
|
||||
RTM_NEWNEIGHTBL = 0x40
|
||||
RTM_NEWNETCONF = 0x50
|
||||
RTM_NEWNEXTHOP = 0x68
|
||||
RTM_NEWNSID = 0x58
|
||||
RTM_NEWPREFIX = 0x34
|
||||
RTM_NEWQDISC = 0x24
|
||||
|
@ -1915,8 +1949,8 @@ const (
|
|||
RTM_NEWSTATS = 0x5c
|
||||
RTM_NEWTCLASS = 0x28
|
||||
RTM_NEWTFILTER = 0x2c
|
||||
RTM_NR_FAMILIES = 0x16
|
||||
RTM_NR_MSGTYPES = 0x58
|
||||
RTM_NR_FAMILIES = 0x17
|
||||
RTM_NR_MSGTYPES = 0x5c
|
||||
RTM_SETDCB = 0x4f
|
||||
RTM_SETLINK = 0x13
|
||||
RTM_SETNEIGHTBL = 0x43
|
||||
|
@ -2001,6 +2035,8 @@ const (
|
|||
SIOCDRARP = 0x8960
|
||||
SIOCETHTOOL = 0x8946
|
||||
SIOCGARP = 0x8954
|
||||
SIOCGETLINKNAME = 0x89e0
|
||||
SIOCGETNODEID = 0x89e1
|
||||
SIOCGHWTSTAMP = 0x89b1
|
||||
SIOCGIFADDR = 0x8915
|
||||
SIOCGIFBR = 0x8940
|
||||
|
@ -2139,6 +2175,7 @@ const (
|
|||
SO_DEBUG = 0x1
|
||||
SO_DETACH_BPF = 0x1b
|
||||
SO_DETACH_FILTER = 0x1b
|
||||
SO_DETACH_REUSEPORT_BPF = 0x44
|
||||
SO_DOMAIN = 0x27
|
||||
SO_DONTROUTE = 0x5
|
||||
SO_EE_CODE_TXTIME_INVALID_PARAM = 0x1
|
||||
|
@ -2439,6 +2476,71 @@ const (
|
|||
TIOCSTI = 0x5412
|
||||
TIOCSWINSZ = 0x5414
|
||||
TIOCVHANGUP = 0x5437
|
||||
TIPC_ADDR_ID = 0x3
|
||||
TIPC_ADDR_MCAST = 0x1
|
||||
TIPC_ADDR_NAME = 0x2
|
||||
TIPC_ADDR_NAMESEQ = 0x1
|
||||
TIPC_CFG_SRV = 0x0
|
||||
TIPC_CLUSTER_BITS = 0xc
|
||||
TIPC_CLUSTER_MASK = 0xfff000
|
||||
TIPC_CLUSTER_OFFSET = 0xc
|
||||
TIPC_CLUSTER_SIZE = 0xfff
|
||||
TIPC_CONN_SHUTDOWN = 0x5
|
||||
TIPC_CONN_TIMEOUT = 0x82
|
||||
TIPC_CRITICAL_IMPORTANCE = 0x3
|
||||
TIPC_DESTNAME = 0x3
|
||||
TIPC_DEST_DROPPABLE = 0x81
|
||||
TIPC_ERRINFO = 0x1
|
||||
TIPC_ERR_NO_NAME = 0x1
|
||||
TIPC_ERR_NO_NODE = 0x3
|
||||
TIPC_ERR_NO_PORT = 0x2
|
||||
TIPC_ERR_OVERLOAD = 0x4
|
||||
TIPC_GROUP_JOIN = 0x87
|
||||
TIPC_GROUP_LEAVE = 0x88
|
||||
TIPC_GROUP_LOOPBACK = 0x1
|
||||
TIPC_GROUP_MEMBER_EVTS = 0x2
|
||||
TIPC_HIGH_IMPORTANCE = 0x2
|
||||
TIPC_IMPORTANCE = 0x7f
|
||||
TIPC_LINK_STATE = 0x2
|
||||
TIPC_LOW_IMPORTANCE = 0x0
|
||||
TIPC_MAX_BEARER_NAME = 0x20
|
||||
TIPC_MAX_IF_NAME = 0x10
|
||||
TIPC_MAX_LINK_NAME = 0x44
|
||||
TIPC_MAX_MEDIA_NAME = 0x10
|
||||
TIPC_MAX_USER_MSG_SIZE = 0x101d0
|
||||
TIPC_MCAST_BROADCAST = 0x85
|
||||
TIPC_MCAST_REPLICAST = 0x86
|
||||
TIPC_MEDIUM_IMPORTANCE = 0x1
|
||||
TIPC_NODEID_LEN = 0x10
|
||||
TIPC_NODE_BITS = 0xc
|
||||
TIPC_NODE_MASK = 0xfff
|
||||
TIPC_NODE_OFFSET = 0x0
|
||||
TIPC_NODE_RECVQ_DEPTH = 0x83
|
||||
TIPC_NODE_SIZE = 0xfff
|
||||
TIPC_NODE_STATE = 0x0
|
||||
TIPC_OK = 0x0
|
||||
TIPC_PUBLISHED = 0x1
|
||||
TIPC_RESERVED_TYPES = 0x40
|
||||
TIPC_RETDATA = 0x2
|
||||
TIPC_SERVICE_ADDR = 0x2
|
||||
TIPC_SERVICE_RANGE = 0x1
|
||||
TIPC_SOCKET_ADDR = 0x3
|
||||
TIPC_SOCK_RECVQ_DEPTH = 0x84
|
||||
TIPC_SOCK_RECVQ_USED = 0x89
|
||||
TIPC_SRC_DROPPABLE = 0x80
|
||||
TIPC_SUBSCR_TIMEOUT = 0x3
|
||||
TIPC_SUB_CANCEL = 0x4
|
||||
TIPC_SUB_PORTS = 0x1
|
||||
TIPC_SUB_SERVICE = 0x2
|
||||
TIPC_TOP_SRV = 0x1
|
||||
TIPC_WAIT_FOREVER = 0xffffffff
|
||||
TIPC_WITHDRAWN = 0x2
|
||||
TIPC_ZONE_BITS = 0x8
|
||||
TIPC_ZONE_CLUSTER_MASK = 0xfffff000
|
||||
TIPC_ZONE_MASK = 0xff000000
|
||||
TIPC_ZONE_OFFSET = 0x18
|
||||
TIPC_ZONE_SCOPE = 0x1
|
||||
TIPC_ZONE_SIZE = 0xff
|
||||
TMPFS_MAGIC = 0x1021994
|
||||
TOSTOP = 0x100
|
||||
TPACKET_ALIGNMENT = 0x10
|
||||
|
@ -2452,7 +2554,7 @@ const (
|
|||
TP_STATUS_LOSING = 0x4
|
||||
TP_STATUS_SENDING = 0x2
|
||||
TP_STATUS_SEND_REQUEST = 0x1
|
||||
TP_STATUS_TS_RAW_HARDWARE = -0x80000000
|
||||
TP_STATUS_TS_RAW_HARDWARE = 0x80000000
|
||||
TP_STATUS_TS_SOFTWARE = 0x20000000
|
||||
TP_STATUS_TS_SYS_HARDWARE = 0x40000000
|
||||
TP_STATUS_USER = 0x1
|
||||
|
@ -2650,6 +2752,8 @@ const (
|
|||
XDP_FLAGS_SKB_MODE = 0x2
|
||||
XDP_FLAGS_UPDATE_IF_NOEXIST = 0x1
|
||||
XDP_MMAP_OFFSETS = 0x1
|
||||
XDP_OPTIONS = 0x8
|
||||
XDP_OPTIONS_ZEROCOPY = 0x1
|
||||
XDP_PACKET_HEADROOM = 0x100
|
||||
XDP_PGOFF_RX_RING = 0x0
|
||||
XDP_PGOFF_TX_RING = 0x80000000
|
||||
|
@ -2666,6 +2770,7 @@ const (
|
|||
XENFS_SUPER_MAGIC = 0xabba1974
|
||||
XFS_SUPER_MAGIC = 0x58465342
|
||||
XTABS = 0x1800
|
||||
Z3FOLD_MAGIC = 0x33
|
||||
ZSMALLOC_MAGIC = 0x58295829
|
||||
)
|
||||
|
||||
|
|
119
vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
generated
vendored
119
vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
generated
vendored
|
@ -253,6 +253,7 @@ const (
|
|||
BPF_F_STACK_BUILD_ID = 0x20
|
||||
BPF_F_STRICT_ALIGNMENT = 0x1
|
||||
BPF_F_SYSCTL_BASE_NAME = 0x1
|
||||
BPF_F_TEST_RND_HI32 = 0x4
|
||||
BPF_F_TUNINFO_IPV6 = 0x1
|
||||
BPF_F_USER_BUILD_ID = 0x800
|
||||
BPF_F_USER_STACK = 0x100
|
||||
|
@ -304,9 +305,10 @@ const (
|
|||
BPF_RET = 0x6
|
||||
BPF_RSH = 0x70
|
||||
BPF_SK_STORAGE_GET_F_CREATE = 0x1
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0x7
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0xf
|
||||
BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2
|
||||
BPF_SOCK_OPS_RTO_CB_FLAG = 0x1
|
||||
BPF_SOCK_OPS_RTT_CB_FLAG = 0x8
|
||||
BPF_SOCK_OPS_STATE_CB_FLAG = 0x4
|
||||
BPF_ST = 0x2
|
||||
BPF_STX = 0x3
|
||||
|
@ -460,6 +462,7 @@ const (
|
|||
DAXFS_MAGIC = 0x64646178
|
||||
DEBUGFS_MAGIC = 0x64626720
|
||||
DEVPTS_SUPER_MAGIC = 0x1cd1
|
||||
DMA_BUF_MAGIC = 0x444d4142
|
||||
DT_BLK = 0x6
|
||||
DT_CHR = 0x2
|
||||
DT_DIR = 0x4
|
||||
|
@ -561,6 +564,7 @@ const (
|
|||
ETH_P_IRDA = 0x17
|
||||
ETH_P_LAT = 0x6004
|
||||
ETH_P_LINK_CTL = 0x886c
|
||||
ETH_P_LLDP = 0x88cc
|
||||
ETH_P_LOCALTALK = 0x9
|
||||
ETH_P_LOOP = 0x60
|
||||
ETH_P_LOOPBACK = 0x9000
|
||||
|
@ -724,6 +728,7 @@ const (
|
|||
F_OFD_SETLKW = 0x26
|
||||
F_OK = 0x0
|
||||
F_RDLCK = 0x0
|
||||
F_SEAL_FUTURE_WRITE = 0x10
|
||||
F_SEAL_GROW = 0x4
|
||||
F_SEAL_SEAL = 0x1
|
||||
F_SEAL_SHRINK = 0x2
|
||||
|
@ -989,6 +994,7 @@ const (
|
|||
IPV6_RECVRTHDR = 0x38
|
||||
IPV6_RECVTCLASS = 0x42
|
||||
IPV6_ROUTER_ALERT = 0x16
|
||||
IPV6_ROUTER_ALERT_ISOLATE = 0x1e
|
||||
IPV6_RTHDR = 0x39
|
||||
IPV6_RTHDRDSTOPTS = 0x37
|
||||
IPV6_RTHDR_LOOSE = 0x0
|
||||
|
@ -1087,6 +1093,17 @@ const (
|
|||
KEXEC_PRESERVE_CONTEXT = 0x2
|
||||
KEXEC_SEGMENT_MAX = 0x10
|
||||
KEYCTL_ASSUME_AUTHORITY = 0x10
|
||||
KEYCTL_CAPABILITIES = 0x1f
|
||||
KEYCTL_CAPS0_BIG_KEY = 0x10
|
||||
KEYCTL_CAPS0_CAPABILITIES = 0x1
|
||||
KEYCTL_CAPS0_DIFFIE_HELLMAN = 0x4
|
||||
KEYCTL_CAPS0_INVALIDATE = 0x20
|
||||
KEYCTL_CAPS0_MOVE = 0x80
|
||||
KEYCTL_CAPS0_PERSISTENT_KEYRINGS = 0x2
|
||||
KEYCTL_CAPS0_PUBLIC_KEY = 0x8
|
||||
KEYCTL_CAPS0_RESTRICT_KEYRING = 0x40
|
||||
KEYCTL_CAPS1_NS_KEYRING_NAME = 0x1
|
||||
KEYCTL_CAPS1_NS_KEY_TAG = 0x2
|
||||
KEYCTL_CHOWN = 0x4
|
||||
KEYCTL_CLEAR = 0x7
|
||||
KEYCTL_DESCRIBE = 0x6
|
||||
|
@ -1099,6 +1116,8 @@ const (
|
|||
KEYCTL_INVALIDATE = 0x15
|
||||
KEYCTL_JOIN_SESSION_KEYRING = 0x1
|
||||
KEYCTL_LINK = 0x8
|
||||
KEYCTL_MOVE = 0x1e
|
||||
KEYCTL_MOVE_EXCL = 0x1
|
||||
KEYCTL_NEGATE = 0xd
|
||||
KEYCTL_PKEY_DECRYPT = 0x1a
|
||||
KEYCTL_PKEY_ENCRYPT = 0x19
|
||||
|
@ -1343,6 +1362,7 @@ const (
|
|||
NETLINK_XFRM = 0x6
|
||||
NETNSA_MAX = 0x5
|
||||
NETNSA_NSID_NOT_ASSIGNED = -0x1
|
||||
NFDBITS = 0x40
|
||||
NFNETLINK_V0 = 0x0
|
||||
NFNLGRP_ACCT_QUOTA = 0x8
|
||||
NFNLGRP_CONNTRACK_DESTROY = 0x3
|
||||
|
@ -1407,6 +1427,10 @@ const (
|
|||
NLM_F_ROOT = 0x100
|
||||
NOFLSH = 0x80
|
||||
NSFS_MAGIC = 0x6e736673
|
||||
NS_GET_NSTYPE = 0xb703
|
||||
NS_GET_OWNER_UID = 0xb704
|
||||
NS_GET_PARENT = 0xb702
|
||||
NS_GET_USERNS = 0xb701
|
||||
OCFS2_SUPER_MAGIC = 0x7461636f
|
||||
OCRNL = 0x8
|
||||
OFDEL = 0x80
|
||||
|
@ -1672,6 +1696,8 @@ const (
|
|||
PTRACE_ATTACH = 0x10
|
||||
PTRACE_CONT = 0x7
|
||||
PTRACE_DETACH = 0x11
|
||||
PTRACE_EVENTMSG_SYSCALL_ENTRY = 0x1
|
||||
PTRACE_EVENTMSG_SYSCALL_EXIT = 0x2
|
||||
PTRACE_EVENT_CLONE = 0x3
|
||||
PTRACE_EVENT_EXEC = 0x4
|
||||
PTRACE_EVENT_EXIT = 0x6
|
||||
|
@ -1685,6 +1711,7 @@ const (
|
|||
PTRACE_GETREGSET = 0x4204
|
||||
PTRACE_GETSIGINFO = 0x4202
|
||||
PTRACE_GETSIGMASK = 0x420a
|
||||
PTRACE_GET_SYSCALL_INFO = 0x420e
|
||||
PTRACE_INTERRUPT = 0x4207
|
||||
PTRACE_KILL = 0x8
|
||||
PTRACE_LISTEN = 0x4208
|
||||
|
@ -1717,6 +1744,12 @@ const (
|
|||
PTRACE_SETSIGMASK = 0x420b
|
||||
PTRACE_SINGLESTEP = 0x9
|
||||
PTRACE_SYSCALL = 0x18
|
||||
PTRACE_SYSCALL_INFO_ENTRY = 0x1
|
||||
PTRACE_SYSCALL_INFO_EXIT = 0x2
|
||||
PTRACE_SYSCALL_INFO_NONE = 0x0
|
||||
PTRACE_SYSCALL_INFO_SECCOMP = 0x3
|
||||
PTRACE_SYSEMU = 0x1f
|
||||
PTRACE_SYSEMU_SINGLESTEP = 0x20
|
||||
PTRACE_TRACEME = 0x0
|
||||
QNX4_SUPER_MAGIC = 0x2f
|
||||
QNX6_SUPER_MAGIC = 0x68191122
|
||||
|
@ -1775,7 +1808,7 @@ const (
|
|||
RTAX_UNSPEC = 0x0
|
||||
RTAX_WINDOW = 0x3
|
||||
RTA_ALIGNTO = 0x4
|
||||
RTA_MAX = 0x1d
|
||||
RTA_MAX = 0x1e
|
||||
RTCF_DIRECTSRC = 0x4000000
|
||||
RTCF_DOREDIRECT = 0x1000000
|
||||
RTCF_LOG = 0x2000000
|
||||
|
@ -1848,6 +1881,7 @@ const (
|
|||
RTM_DELMDB = 0x55
|
||||
RTM_DELNEIGH = 0x1d
|
||||
RTM_DELNETCONF = 0x51
|
||||
RTM_DELNEXTHOP = 0x69
|
||||
RTM_DELNSID = 0x59
|
||||
RTM_DELQDISC = 0x25
|
||||
RTM_DELROUTE = 0x19
|
||||
|
@ -1872,6 +1906,7 @@ const (
|
|||
RTM_GETNEIGH = 0x1e
|
||||
RTM_GETNEIGHTBL = 0x42
|
||||
RTM_GETNETCONF = 0x52
|
||||
RTM_GETNEXTHOP = 0x6a
|
||||
RTM_GETNSID = 0x5a
|
||||
RTM_GETQDISC = 0x26
|
||||
RTM_GETROUTE = 0x1a
|
||||
|
@ -1879,7 +1914,7 @@ const (
|
|||
RTM_GETSTATS = 0x5e
|
||||
RTM_GETTCLASS = 0x2a
|
||||
RTM_GETTFILTER = 0x2e
|
||||
RTM_MAX = 0x67
|
||||
RTM_MAX = 0x6b
|
||||
RTM_NEWACTION = 0x30
|
||||
RTM_NEWADDR = 0x14
|
||||
RTM_NEWADDRLABEL = 0x48
|
||||
|
@ -1891,6 +1926,7 @@ const (
|
|||
RTM_NEWNEIGH = 0x1c
|
||||
RTM_NEWNEIGHTBL = 0x40
|
||||
RTM_NEWNETCONF = 0x50
|
||||
RTM_NEWNEXTHOP = 0x68
|
||||
RTM_NEWNSID = 0x58
|
||||
RTM_NEWPREFIX = 0x34
|
||||
RTM_NEWQDISC = 0x24
|
||||
|
@ -1899,8 +1935,8 @@ const (
|
|||
RTM_NEWSTATS = 0x5c
|
||||
RTM_NEWTCLASS = 0x28
|
||||
RTM_NEWTFILTER = 0x2c
|
||||
RTM_NR_FAMILIES = 0x16
|
||||
RTM_NR_MSGTYPES = 0x58
|
||||
RTM_NR_FAMILIES = 0x17
|
||||
RTM_NR_MSGTYPES = 0x5c
|
||||
RTM_SETDCB = 0x4f
|
||||
RTM_SETLINK = 0x13
|
||||
RTM_SETNEIGHTBL = 0x43
|
||||
|
@ -1985,6 +2021,8 @@ const (
|
|||
SIOCDRARP = 0x8960
|
||||
SIOCETHTOOL = 0x8946
|
||||
SIOCGARP = 0x8954
|
||||
SIOCGETLINKNAME = 0x89e0
|
||||
SIOCGETNODEID = 0x89e1
|
||||
SIOCGHWTSTAMP = 0x89b1
|
||||
SIOCGIFADDR = 0x8915
|
||||
SIOCGIFBR = 0x8940
|
||||
|
@ -2123,6 +2161,7 @@ const (
|
|||
SO_DEBUG = 0x1
|
||||
SO_DETACH_BPF = 0x1b
|
||||
SO_DETACH_FILTER = 0x1b
|
||||
SO_DETACH_REUSEPORT_BPF = 0x44
|
||||
SO_DOMAIN = 0x27
|
||||
SO_DONTROUTE = 0x5
|
||||
SO_EE_CODE_TXTIME_INVALID_PARAM = 0x1
|
||||
|
@ -2424,6 +2463,71 @@ const (
|
|||
TIOCSTI = 0x5412
|
||||
TIOCSWINSZ = 0x5414
|
||||
TIOCVHANGUP = 0x5437
|
||||
TIPC_ADDR_ID = 0x3
|
||||
TIPC_ADDR_MCAST = 0x1
|
||||
TIPC_ADDR_NAME = 0x2
|
||||
TIPC_ADDR_NAMESEQ = 0x1
|
||||
TIPC_CFG_SRV = 0x0
|
||||
TIPC_CLUSTER_BITS = 0xc
|
||||
TIPC_CLUSTER_MASK = 0xfff000
|
||||
TIPC_CLUSTER_OFFSET = 0xc
|
||||
TIPC_CLUSTER_SIZE = 0xfff
|
||||
TIPC_CONN_SHUTDOWN = 0x5
|
||||
TIPC_CONN_TIMEOUT = 0x82
|
||||
TIPC_CRITICAL_IMPORTANCE = 0x3
|
||||
TIPC_DESTNAME = 0x3
|
||||
TIPC_DEST_DROPPABLE = 0x81
|
||||
TIPC_ERRINFO = 0x1
|
||||
TIPC_ERR_NO_NAME = 0x1
|
||||
TIPC_ERR_NO_NODE = 0x3
|
||||
TIPC_ERR_NO_PORT = 0x2
|
||||
TIPC_ERR_OVERLOAD = 0x4
|
||||
TIPC_GROUP_JOIN = 0x87
|
||||
TIPC_GROUP_LEAVE = 0x88
|
||||
TIPC_GROUP_LOOPBACK = 0x1
|
||||
TIPC_GROUP_MEMBER_EVTS = 0x2
|
||||
TIPC_HIGH_IMPORTANCE = 0x2
|
||||
TIPC_IMPORTANCE = 0x7f
|
||||
TIPC_LINK_STATE = 0x2
|
||||
TIPC_LOW_IMPORTANCE = 0x0
|
||||
TIPC_MAX_BEARER_NAME = 0x20
|
||||
TIPC_MAX_IF_NAME = 0x10
|
||||
TIPC_MAX_LINK_NAME = 0x44
|
||||
TIPC_MAX_MEDIA_NAME = 0x10
|
||||
TIPC_MAX_USER_MSG_SIZE = 0x101d0
|
||||
TIPC_MCAST_BROADCAST = 0x85
|
||||
TIPC_MCAST_REPLICAST = 0x86
|
||||
TIPC_MEDIUM_IMPORTANCE = 0x1
|
||||
TIPC_NODEID_LEN = 0x10
|
||||
TIPC_NODE_BITS = 0xc
|
||||
TIPC_NODE_MASK = 0xfff
|
||||
TIPC_NODE_OFFSET = 0x0
|
||||
TIPC_NODE_RECVQ_DEPTH = 0x83
|
||||
TIPC_NODE_SIZE = 0xfff
|
||||
TIPC_NODE_STATE = 0x0
|
||||
TIPC_OK = 0x0
|
||||
TIPC_PUBLISHED = 0x1
|
||||
TIPC_RESERVED_TYPES = 0x40
|
||||
TIPC_RETDATA = 0x2
|
||||
TIPC_SERVICE_ADDR = 0x2
|
||||
TIPC_SERVICE_RANGE = 0x1
|
||||
TIPC_SOCKET_ADDR = 0x3
|
||||
TIPC_SOCK_RECVQ_DEPTH = 0x84
|
||||
TIPC_SOCK_RECVQ_USED = 0x89
|
||||
TIPC_SRC_DROPPABLE = 0x80
|
||||
TIPC_SUBSCR_TIMEOUT = 0x3
|
||||
TIPC_SUB_CANCEL = 0x4
|
||||
TIPC_SUB_PORTS = 0x1
|
||||
TIPC_SUB_SERVICE = 0x2
|
||||
TIPC_TOP_SRV = 0x1
|
||||
TIPC_WAIT_FOREVER = 0xffffffff
|
||||
TIPC_WITHDRAWN = 0x2
|
||||
TIPC_ZONE_BITS = 0x8
|
||||
TIPC_ZONE_CLUSTER_MASK = 0xfffff000
|
||||
TIPC_ZONE_MASK = 0xff000000
|
||||
TIPC_ZONE_OFFSET = 0x18
|
||||
TIPC_ZONE_SCOPE = 0x1
|
||||
TIPC_ZONE_SIZE = 0xff
|
||||
TMPFS_MAGIC = 0x1021994
|
||||
TOSTOP = 0x100
|
||||
TPACKET_ALIGNMENT = 0x10
|
||||
|
@ -2437,7 +2541,7 @@ const (
|
|||
TP_STATUS_LOSING = 0x4
|
||||
TP_STATUS_SENDING = 0x2
|
||||
TP_STATUS_SEND_REQUEST = 0x1
|
||||
TP_STATUS_TS_RAW_HARDWARE = -0x80000000
|
||||
TP_STATUS_TS_RAW_HARDWARE = 0x80000000
|
||||
TP_STATUS_TS_SOFTWARE = 0x20000000
|
||||
TP_STATUS_TS_SYS_HARDWARE = 0x40000000
|
||||
TP_STATUS_USER = 0x1
|
||||
|
@ -2635,6 +2739,8 @@ const (
|
|||
XDP_FLAGS_SKB_MODE = 0x2
|
||||
XDP_FLAGS_UPDATE_IF_NOEXIST = 0x1
|
||||
XDP_MMAP_OFFSETS = 0x1
|
||||
XDP_OPTIONS = 0x8
|
||||
XDP_OPTIONS_ZEROCOPY = 0x1
|
||||
XDP_PACKET_HEADROOM = 0x100
|
||||
XDP_PGOFF_RX_RING = 0x0
|
||||
XDP_PGOFF_TX_RING = 0x80000000
|
||||
|
@ -2651,6 +2757,7 @@ const (
|
|||
XENFS_SUPER_MAGIC = 0xabba1974
|
||||
XFS_SUPER_MAGIC = 0x58465342
|
||||
XTABS = 0x1800
|
||||
Z3FOLD_MAGIC = 0x33
|
||||
ZSMALLOC_MAGIC = 0x58295829
|
||||
)
|
||||
|
||||
|
|
117
vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
generated
vendored
117
vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
generated
vendored
|
@ -253,6 +253,7 @@ const (
|
|||
BPF_F_STACK_BUILD_ID = 0x20
|
||||
BPF_F_STRICT_ALIGNMENT = 0x1
|
||||
BPF_F_SYSCTL_BASE_NAME = 0x1
|
||||
BPF_F_TEST_RND_HI32 = 0x4
|
||||
BPF_F_TUNINFO_IPV6 = 0x1
|
||||
BPF_F_USER_BUILD_ID = 0x800
|
||||
BPF_F_USER_STACK = 0x100
|
||||
|
@ -304,9 +305,10 @@ const (
|
|||
BPF_RET = 0x6
|
||||
BPF_RSH = 0x70
|
||||
BPF_SK_STORAGE_GET_F_CREATE = 0x1
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0x7
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0xf
|
||||
BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2
|
||||
BPF_SOCK_OPS_RTO_CB_FLAG = 0x1
|
||||
BPF_SOCK_OPS_RTT_CB_FLAG = 0x8
|
||||
BPF_SOCK_OPS_STATE_CB_FLAG = 0x4
|
||||
BPF_ST = 0x2
|
||||
BPF_STX = 0x3
|
||||
|
@ -460,6 +462,7 @@ const (
|
|||
DAXFS_MAGIC = 0x64646178
|
||||
DEBUGFS_MAGIC = 0x64626720
|
||||
DEVPTS_SUPER_MAGIC = 0x1cd1
|
||||
DMA_BUF_MAGIC = 0x444d4142
|
||||
DT_BLK = 0x6
|
||||
DT_CHR = 0x2
|
||||
DT_DIR = 0x4
|
||||
|
@ -560,6 +563,7 @@ const (
|
|||
ETH_P_IRDA = 0x17
|
||||
ETH_P_LAT = 0x6004
|
||||
ETH_P_LINK_CTL = 0x886c
|
||||
ETH_P_LLDP = 0x88cc
|
||||
ETH_P_LOCALTALK = 0x9
|
||||
ETH_P_LOOP = 0x60
|
||||
ETH_P_LOOPBACK = 0x9000
|
||||
|
@ -721,6 +725,7 @@ const (
|
|||
F_OFD_SETLKW = 0x26
|
||||
F_OK = 0x0
|
||||
F_RDLCK = 0x0
|
||||
F_SEAL_FUTURE_WRITE = 0x10
|
||||
F_SEAL_GROW = 0x4
|
||||
F_SEAL_SEAL = 0x1
|
||||
F_SEAL_SHRINK = 0x2
|
||||
|
@ -986,6 +991,7 @@ const (
|
|||
IPV6_RECVRTHDR = 0x38
|
||||
IPV6_RECVTCLASS = 0x42
|
||||
IPV6_ROUTER_ALERT = 0x16
|
||||
IPV6_ROUTER_ALERT_ISOLATE = 0x1e
|
||||
IPV6_RTHDR = 0x39
|
||||
IPV6_RTHDRDSTOPTS = 0x37
|
||||
IPV6_RTHDR_LOOSE = 0x0
|
||||
|
@ -1084,6 +1090,17 @@ const (
|
|||
KEXEC_PRESERVE_CONTEXT = 0x2
|
||||
KEXEC_SEGMENT_MAX = 0x10
|
||||
KEYCTL_ASSUME_AUTHORITY = 0x10
|
||||
KEYCTL_CAPABILITIES = 0x1f
|
||||
KEYCTL_CAPS0_BIG_KEY = 0x10
|
||||
KEYCTL_CAPS0_CAPABILITIES = 0x1
|
||||
KEYCTL_CAPS0_DIFFIE_HELLMAN = 0x4
|
||||
KEYCTL_CAPS0_INVALIDATE = 0x20
|
||||
KEYCTL_CAPS0_MOVE = 0x80
|
||||
KEYCTL_CAPS0_PERSISTENT_KEYRINGS = 0x2
|
||||
KEYCTL_CAPS0_PUBLIC_KEY = 0x8
|
||||
KEYCTL_CAPS0_RESTRICT_KEYRING = 0x40
|
||||
KEYCTL_CAPS1_NS_KEYRING_NAME = 0x1
|
||||
KEYCTL_CAPS1_NS_KEY_TAG = 0x2
|
||||
KEYCTL_CHOWN = 0x4
|
||||
KEYCTL_CLEAR = 0x7
|
||||
KEYCTL_DESCRIBE = 0x6
|
||||
|
@ -1096,6 +1113,8 @@ const (
|
|||
KEYCTL_INVALIDATE = 0x15
|
||||
KEYCTL_JOIN_SESSION_KEYRING = 0x1
|
||||
KEYCTL_LINK = 0x8
|
||||
KEYCTL_MOVE = 0x1e
|
||||
KEYCTL_MOVE_EXCL = 0x1
|
||||
KEYCTL_NEGATE = 0xd
|
||||
KEYCTL_PKEY_DECRYPT = 0x1a
|
||||
KEYCTL_PKEY_ENCRYPT = 0x19
|
||||
|
@ -1340,6 +1359,7 @@ const (
|
|||
NETLINK_XFRM = 0x6
|
||||
NETNSA_MAX = 0x5
|
||||
NETNSA_NSID_NOT_ASSIGNED = -0x1
|
||||
NFDBITS = 0x20
|
||||
NFNETLINK_V0 = 0x0
|
||||
NFNLGRP_ACCT_QUOTA = 0x8
|
||||
NFNLGRP_CONNTRACK_DESTROY = 0x3
|
||||
|
@ -1404,6 +1424,10 @@ const (
|
|||
NLM_F_ROOT = 0x100
|
||||
NOFLSH = 0x80
|
||||
NSFS_MAGIC = 0x6e736673
|
||||
NS_GET_NSTYPE = 0x2000b703
|
||||
NS_GET_OWNER_UID = 0x2000b704
|
||||
NS_GET_PARENT = 0x2000b702
|
||||
NS_GET_USERNS = 0x2000b701
|
||||
OCFS2_SUPER_MAGIC = 0x7461636f
|
||||
OCRNL = 0x8
|
||||
OFDEL = 0x80
|
||||
|
@ -1669,6 +1693,8 @@ const (
|
|||
PTRACE_ATTACH = 0x10
|
||||
PTRACE_CONT = 0x7
|
||||
PTRACE_DETACH = 0x11
|
||||
PTRACE_EVENTMSG_SYSCALL_ENTRY = 0x1
|
||||
PTRACE_EVENTMSG_SYSCALL_EXIT = 0x2
|
||||
PTRACE_EVENT_CLONE = 0x3
|
||||
PTRACE_EVENT_EXEC = 0x4
|
||||
PTRACE_EVENT_EXIT = 0x6
|
||||
|
@ -1683,6 +1709,7 @@ const (
|
|||
PTRACE_GETREGSET = 0x4204
|
||||
PTRACE_GETSIGINFO = 0x4202
|
||||
PTRACE_GETSIGMASK = 0x420a
|
||||
PTRACE_GET_SYSCALL_INFO = 0x420e
|
||||
PTRACE_GET_THREAD_AREA = 0x19
|
||||
PTRACE_GET_THREAD_AREA_3264 = 0xc4
|
||||
PTRACE_GET_WATCH_REGS = 0xd0
|
||||
|
@ -1726,6 +1753,10 @@ const (
|
|||
PTRACE_SET_WATCH_REGS = 0xd1
|
||||
PTRACE_SINGLESTEP = 0x9
|
||||
PTRACE_SYSCALL = 0x18
|
||||
PTRACE_SYSCALL_INFO_ENTRY = 0x1
|
||||
PTRACE_SYSCALL_INFO_EXIT = 0x2
|
||||
PTRACE_SYSCALL_INFO_NONE = 0x0
|
||||
PTRACE_SYSCALL_INFO_SECCOMP = 0x3
|
||||
PTRACE_TRACEME = 0x0
|
||||
QNX4_SUPER_MAGIC = 0x2f
|
||||
QNX6_SUPER_MAGIC = 0x68191122
|
||||
|
@ -1784,7 +1815,7 @@ const (
|
|||
RTAX_UNSPEC = 0x0
|
||||
RTAX_WINDOW = 0x3
|
||||
RTA_ALIGNTO = 0x4
|
||||
RTA_MAX = 0x1d
|
||||
RTA_MAX = 0x1e
|
||||
RTCF_DIRECTSRC = 0x4000000
|
||||
RTCF_DOREDIRECT = 0x1000000
|
||||
RTCF_LOG = 0x2000000
|
||||
|
@ -1857,6 +1888,7 @@ const (
|
|||
RTM_DELMDB = 0x55
|
||||
RTM_DELNEIGH = 0x1d
|
||||
RTM_DELNETCONF = 0x51
|
||||
RTM_DELNEXTHOP = 0x69
|
||||
RTM_DELNSID = 0x59
|
||||
RTM_DELQDISC = 0x25
|
||||
RTM_DELROUTE = 0x19
|
||||
|
@ -1881,6 +1913,7 @@ const (
|
|||
RTM_GETNEIGH = 0x1e
|
||||
RTM_GETNEIGHTBL = 0x42
|
||||
RTM_GETNETCONF = 0x52
|
||||
RTM_GETNEXTHOP = 0x6a
|
||||
RTM_GETNSID = 0x5a
|
||||
RTM_GETQDISC = 0x26
|
||||
RTM_GETROUTE = 0x1a
|
||||
|
@ -1888,7 +1921,7 @@ const (
|
|||
RTM_GETSTATS = 0x5e
|
||||
RTM_GETTCLASS = 0x2a
|
||||
RTM_GETTFILTER = 0x2e
|
||||
RTM_MAX = 0x67
|
||||
RTM_MAX = 0x6b
|
||||
RTM_NEWACTION = 0x30
|
||||
RTM_NEWADDR = 0x14
|
||||
RTM_NEWADDRLABEL = 0x48
|
||||
|
@ -1900,6 +1933,7 @@ const (
|
|||
RTM_NEWNEIGH = 0x1c
|
||||
RTM_NEWNEIGHTBL = 0x40
|
||||
RTM_NEWNETCONF = 0x50
|
||||
RTM_NEWNEXTHOP = 0x68
|
||||
RTM_NEWNSID = 0x58
|
||||
RTM_NEWPREFIX = 0x34
|
||||
RTM_NEWQDISC = 0x24
|
||||
|
@ -1908,8 +1942,8 @@ const (
|
|||
RTM_NEWSTATS = 0x5c
|
||||
RTM_NEWTCLASS = 0x28
|
||||
RTM_NEWTFILTER = 0x2c
|
||||
RTM_NR_FAMILIES = 0x16
|
||||
RTM_NR_MSGTYPES = 0x58
|
||||
RTM_NR_FAMILIES = 0x17
|
||||
RTM_NR_MSGTYPES = 0x5c
|
||||
RTM_SETDCB = 0x4f
|
||||
RTM_SETLINK = 0x13
|
||||
RTM_SETNEIGHTBL = 0x43
|
||||
|
@ -1994,6 +2028,8 @@ const (
|
|||
SIOCDRARP = 0x8960
|
||||
SIOCETHTOOL = 0x8946
|
||||
SIOCGARP = 0x8954
|
||||
SIOCGETLINKNAME = 0x89e0
|
||||
SIOCGETNODEID = 0x89e1
|
||||
SIOCGHWTSTAMP = 0x89b1
|
||||
SIOCGIFADDR = 0x8915
|
||||
SIOCGIFBR = 0x8940
|
||||
|
@ -2132,6 +2168,7 @@ const (
|
|||
SO_DEBUG = 0x1
|
||||
SO_DETACH_BPF = 0x1b
|
||||
SO_DETACH_FILTER = 0x1b
|
||||
SO_DETACH_REUSEPORT_BPF = 0x44
|
||||
SO_DOMAIN = 0x1029
|
||||
SO_DONTROUTE = 0x10
|
||||
SO_EE_CODE_TXTIME_INVALID_PARAM = 0x1
|
||||
|
@ -2434,6 +2471,71 @@ const (
|
|||
TIOCSTI = 0x5472
|
||||
TIOCSWINSZ = 0x80087467
|
||||
TIOCVHANGUP = 0x5437
|
||||
TIPC_ADDR_ID = 0x3
|
||||
TIPC_ADDR_MCAST = 0x1
|
||||
TIPC_ADDR_NAME = 0x2
|
||||
TIPC_ADDR_NAMESEQ = 0x1
|
||||
TIPC_CFG_SRV = 0x0
|
||||
TIPC_CLUSTER_BITS = 0xc
|
||||
TIPC_CLUSTER_MASK = 0xfff000
|
||||
TIPC_CLUSTER_OFFSET = 0xc
|
||||
TIPC_CLUSTER_SIZE = 0xfff
|
||||
TIPC_CONN_SHUTDOWN = 0x5
|
||||
TIPC_CONN_TIMEOUT = 0x82
|
||||
TIPC_CRITICAL_IMPORTANCE = 0x3
|
||||
TIPC_DESTNAME = 0x3
|
||||
TIPC_DEST_DROPPABLE = 0x81
|
||||
TIPC_ERRINFO = 0x1
|
||||
TIPC_ERR_NO_NAME = 0x1
|
||||
TIPC_ERR_NO_NODE = 0x3
|
||||
TIPC_ERR_NO_PORT = 0x2
|
||||
TIPC_ERR_OVERLOAD = 0x4
|
||||
TIPC_GROUP_JOIN = 0x87
|
||||
TIPC_GROUP_LEAVE = 0x88
|
||||
TIPC_GROUP_LOOPBACK = 0x1
|
||||
TIPC_GROUP_MEMBER_EVTS = 0x2
|
||||
TIPC_HIGH_IMPORTANCE = 0x2
|
||||
TIPC_IMPORTANCE = 0x7f
|
||||
TIPC_LINK_STATE = 0x2
|
||||
TIPC_LOW_IMPORTANCE = 0x0
|
||||
TIPC_MAX_BEARER_NAME = 0x20
|
||||
TIPC_MAX_IF_NAME = 0x10
|
||||
TIPC_MAX_LINK_NAME = 0x44
|
||||
TIPC_MAX_MEDIA_NAME = 0x10
|
||||
TIPC_MAX_USER_MSG_SIZE = 0x101d0
|
||||
TIPC_MCAST_BROADCAST = 0x85
|
||||
TIPC_MCAST_REPLICAST = 0x86
|
||||
TIPC_MEDIUM_IMPORTANCE = 0x1
|
||||
TIPC_NODEID_LEN = 0x10
|
||||
TIPC_NODE_BITS = 0xc
|
||||
TIPC_NODE_MASK = 0xfff
|
||||
TIPC_NODE_OFFSET = 0x0
|
||||
TIPC_NODE_RECVQ_DEPTH = 0x83
|
||||
TIPC_NODE_SIZE = 0xfff
|
||||
TIPC_NODE_STATE = 0x0
|
||||
TIPC_OK = 0x0
|
||||
TIPC_PUBLISHED = 0x1
|
||||
TIPC_RESERVED_TYPES = 0x40
|
||||
TIPC_RETDATA = 0x2
|
||||
TIPC_SERVICE_ADDR = 0x2
|
||||
TIPC_SERVICE_RANGE = 0x1
|
||||
TIPC_SOCKET_ADDR = 0x3
|
||||
TIPC_SOCK_RECVQ_DEPTH = 0x84
|
||||
TIPC_SOCK_RECVQ_USED = 0x89
|
||||
TIPC_SRC_DROPPABLE = 0x80
|
||||
TIPC_SUBSCR_TIMEOUT = 0x3
|
||||
TIPC_SUB_CANCEL = 0x4
|
||||
TIPC_SUB_PORTS = 0x1
|
||||
TIPC_SUB_SERVICE = 0x2
|
||||
TIPC_TOP_SRV = 0x1
|
||||
TIPC_WAIT_FOREVER = 0xffffffff
|
||||
TIPC_WITHDRAWN = 0x2
|
||||
TIPC_ZONE_BITS = 0x8
|
||||
TIPC_ZONE_CLUSTER_MASK = 0xfffff000
|
||||
TIPC_ZONE_MASK = 0xff000000
|
||||
TIPC_ZONE_OFFSET = 0x18
|
||||
TIPC_ZONE_SCOPE = 0x1
|
||||
TIPC_ZONE_SIZE = 0xff
|
||||
TMPFS_MAGIC = 0x1021994
|
||||
TOSTOP = 0x8000
|
||||
TPACKET_ALIGNMENT = 0x10
|
||||
|
@ -2447,7 +2549,7 @@ const (
|
|||
TP_STATUS_LOSING = 0x4
|
||||
TP_STATUS_SENDING = 0x2
|
||||
TP_STATUS_SEND_REQUEST = 0x1
|
||||
TP_STATUS_TS_RAW_HARDWARE = -0x80000000
|
||||
TP_STATUS_TS_RAW_HARDWARE = 0x80000000
|
||||
TP_STATUS_TS_SOFTWARE = 0x20000000
|
||||
TP_STATUS_TS_SYS_HARDWARE = 0x40000000
|
||||
TP_STATUS_USER = 0x1
|
||||
|
@ -2646,6 +2748,8 @@ const (
|
|||
XDP_FLAGS_SKB_MODE = 0x2
|
||||
XDP_FLAGS_UPDATE_IF_NOEXIST = 0x1
|
||||
XDP_MMAP_OFFSETS = 0x1
|
||||
XDP_OPTIONS = 0x8
|
||||
XDP_OPTIONS_ZEROCOPY = 0x1
|
||||
XDP_PACKET_HEADROOM = 0x100
|
||||
XDP_PGOFF_RX_RING = 0x0
|
||||
XDP_PGOFF_TX_RING = 0x80000000
|
||||
|
@ -2662,6 +2766,7 @@ const (
|
|||
XENFS_SUPER_MAGIC = 0xabba1974
|
||||
XFS_SUPER_MAGIC = 0x58465342
|
||||
XTABS = 0x1800
|
||||
Z3FOLD_MAGIC = 0x33
|
||||
ZSMALLOC_MAGIC = 0x58295829
|
||||
)
|
||||
|
||||
|
|
117
vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
generated
vendored
117
vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
generated
vendored
|
@ -253,6 +253,7 @@ const (
|
|||
BPF_F_STACK_BUILD_ID = 0x20
|
||||
BPF_F_STRICT_ALIGNMENT = 0x1
|
||||
BPF_F_SYSCTL_BASE_NAME = 0x1
|
||||
BPF_F_TEST_RND_HI32 = 0x4
|
||||
BPF_F_TUNINFO_IPV6 = 0x1
|
||||
BPF_F_USER_BUILD_ID = 0x800
|
||||
BPF_F_USER_STACK = 0x100
|
||||
|
@ -304,9 +305,10 @@ const (
|
|||
BPF_RET = 0x6
|
||||
BPF_RSH = 0x70
|
||||
BPF_SK_STORAGE_GET_F_CREATE = 0x1
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0x7
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0xf
|
||||
BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2
|
||||
BPF_SOCK_OPS_RTO_CB_FLAG = 0x1
|
||||
BPF_SOCK_OPS_RTT_CB_FLAG = 0x8
|
||||
BPF_SOCK_OPS_STATE_CB_FLAG = 0x4
|
||||
BPF_ST = 0x2
|
||||
BPF_STX = 0x3
|
||||
|
@ -460,6 +462,7 @@ const (
|
|||
DAXFS_MAGIC = 0x64646178
|
||||
DEBUGFS_MAGIC = 0x64626720
|
||||
DEVPTS_SUPER_MAGIC = 0x1cd1
|
||||
DMA_BUF_MAGIC = 0x444d4142
|
||||
DT_BLK = 0x6
|
||||
DT_CHR = 0x2
|
||||
DT_DIR = 0x4
|
||||
|
@ -560,6 +563,7 @@ const (
|
|||
ETH_P_IRDA = 0x17
|
||||
ETH_P_LAT = 0x6004
|
||||
ETH_P_LINK_CTL = 0x886c
|
||||
ETH_P_LLDP = 0x88cc
|
||||
ETH_P_LOCALTALK = 0x9
|
||||
ETH_P_LOOP = 0x60
|
||||
ETH_P_LOOPBACK = 0x9000
|
||||
|
@ -721,6 +725,7 @@ const (
|
|||
F_OFD_SETLKW = 0x26
|
||||
F_OK = 0x0
|
||||
F_RDLCK = 0x0
|
||||
F_SEAL_FUTURE_WRITE = 0x10
|
||||
F_SEAL_GROW = 0x4
|
||||
F_SEAL_SEAL = 0x1
|
||||
F_SEAL_SHRINK = 0x2
|
||||
|
@ -986,6 +991,7 @@ const (
|
|||
IPV6_RECVRTHDR = 0x38
|
||||
IPV6_RECVTCLASS = 0x42
|
||||
IPV6_ROUTER_ALERT = 0x16
|
||||
IPV6_ROUTER_ALERT_ISOLATE = 0x1e
|
||||
IPV6_RTHDR = 0x39
|
||||
IPV6_RTHDRDSTOPTS = 0x37
|
||||
IPV6_RTHDR_LOOSE = 0x0
|
||||
|
@ -1084,6 +1090,17 @@ const (
|
|||
KEXEC_PRESERVE_CONTEXT = 0x2
|
||||
KEXEC_SEGMENT_MAX = 0x10
|
||||
KEYCTL_ASSUME_AUTHORITY = 0x10
|
||||
KEYCTL_CAPABILITIES = 0x1f
|
||||
KEYCTL_CAPS0_BIG_KEY = 0x10
|
||||
KEYCTL_CAPS0_CAPABILITIES = 0x1
|
||||
KEYCTL_CAPS0_DIFFIE_HELLMAN = 0x4
|
||||
KEYCTL_CAPS0_INVALIDATE = 0x20
|
||||
KEYCTL_CAPS0_MOVE = 0x80
|
||||
KEYCTL_CAPS0_PERSISTENT_KEYRINGS = 0x2
|
||||
KEYCTL_CAPS0_PUBLIC_KEY = 0x8
|
||||
KEYCTL_CAPS0_RESTRICT_KEYRING = 0x40
|
||||
KEYCTL_CAPS1_NS_KEYRING_NAME = 0x1
|
||||
KEYCTL_CAPS1_NS_KEY_TAG = 0x2
|
||||
KEYCTL_CHOWN = 0x4
|
||||
KEYCTL_CLEAR = 0x7
|
||||
KEYCTL_DESCRIBE = 0x6
|
||||
|
@ -1096,6 +1113,8 @@ const (
|
|||
KEYCTL_INVALIDATE = 0x15
|
||||
KEYCTL_JOIN_SESSION_KEYRING = 0x1
|
||||
KEYCTL_LINK = 0x8
|
||||
KEYCTL_MOVE = 0x1e
|
||||
KEYCTL_MOVE_EXCL = 0x1
|
||||
KEYCTL_NEGATE = 0xd
|
||||
KEYCTL_PKEY_DECRYPT = 0x1a
|
||||
KEYCTL_PKEY_ENCRYPT = 0x19
|
||||
|
@ -1340,6 +1359,7 @@ const (
|
|||
NETLINK_XFRM = 0x6
|
||||
NETNSA_MAX = 0x5
|
||||
NETNSA_NSID_NOT_ASSIGNED = -0x1
|
||||
NFDBITS = 0x40
|
||||
NFNETLINK_V0 = 0x0
|
||||
NFNLGRP_ACCT_QUOTA = 0x8
|
||||
NFNLGRP_CONNTRACK_DESTROY = 0x3
|
||||
|
@ -1404,6 +1424,10 @@ const (
|
|||
NLM_F_ROOT = 0x100
|
||||
NOFLSH = 0x80
|
||||
NSFS_MAGIC = 0x6e736673
|
||||
NS_GET_NSTYPE = 0x2000b703
|
||||
NS_GET_OWNER_UID = 0x2000b704
|
||||
NS_GET_PARENT = 0x2000b702
|
||||
NS_GET_USERNS = 0x2000b701
|
||||
OCFS2_SUPER_MAGIC = 0x7461636f
|
||||
OCRNL = 0x8
|
||||
OFDEL = 0x80
|
||||
|
@ -1669,6 +1693,8 @@ const (
|
|||
PTRACE_ATTACH = 0x10
|
||||
PTRACE_CONT = 0x7
|
||||
PTRACE_DETACH = 0x11
|
||||
PTRACE_EVENTMSG_SYSCALL_ENTRY = 0x1
|
||||
PTRACE_EVENTMSG_SYSCALL_EXIT = 0x2
|
||||
PTRACE_EVENT_CLONE = 0x3
|
||||
PTRACE_EVENT_EXEC = 0x4
|
||||
PTRACE_EVENT_EXIT = 0x6
|
||||
|
@ -1683,6 +1709,7 @@ const (
|
|||
PTRACE_GETREGSET = 0x4204
|
||||
PTRACE_GETSIGINFO = 0x4202
|
||||
PTRACE_GETSIGMASK = 0x420a
|
||||
PTRACE_GET_SYSCALL_INFO = 0x420e
|
||||
PTRACE_GET_THREAD_AREA = 0x19
|
||||
PTRACE_GET_THREAD_AREA_3264 = 0xc4
|
||||
PTRACE_GET_WATCH_REGS = 0xd0
|
||||
|
@ -1726,6 +1753,10 @@ const (
|
|||
PTRACE_SET_WATCH_REGS = 0xd1
|
||||
PTRACE_SINGLESTEP = 0x9
|
||||
PTRACE_SYSCALL = 0x18
|
||||
PTRACE_SYSCALL_INFO_ENTRY = 0x1
|
||||
PTRACE_SYSCALL_INFO_EXIT = 0x2
|
||||
PTRACE_SYSCALL_INFO_NONE = 0x0
|
||||
PTRACE_SYSCALL_INFO_SECCOMP = 0x3
|
||||
PTRACE_TRACEME = 0x0
|
||||
QNX4_SUPER_MAGIC = 0x2f
|
||||
QNX6_SUPER_MAGIC = 0x68191122
|
||||
|
@ -1784,7 +1815,7 @@ const (
|
|||
RTAX_UNSPEC = 0x0
|
||||
RTAX_WINDOW = 0x3
|
||||
RTA_ALIGNTO = 0x4
|
||||
RTA_MAX = 0x1d
|
||||
RTA_MAX = 0x1e
|
||||
RTCF_DIRECTSRC = 0x4000000
|
||||
RTCF_DOREDIRECT = 0x1000000
|
||||
RTCF_LOG = 0x2000000
|
||||
|
@ -1857,6 +1888,7 @@ const (
|
|||
RTM_DELMDB = 0x55
|
||||
RTM_DELNEIGH = 0x1d
|
||||
RTM_DELNETCONF = 0x51
|
||||
RTM_DELNEXTHOP = 0x69
|
||||
RTM_DELNSID = 0x59
|
||||
RTM_DELQDISC = 0x25
|
||||
RTM_DELROUTE = 0x19
|
||||
|
@ -1881,6 +1913,7 @@ const (
|
|||
RTM_GETNEIGH = 0x1e
|
||||
RTM_GETNEIGHTBL = 0x42
|
||||
RTM_GETNETCONF = 0x52
|
||||
RTM_GETNEXTHOP = 0x6a
|
||||
RTM_GETNSID = 0x5a
|
||||
RTM_GETQDISC = 0x26
|
||||
RTM_GETROUTE = 0x1a
|
||||
|
@ -1888,7 +1921,7 @@ const (
|
|||
RTM_GETSTATS = 0x5e
|
||||
RTM_GETTCLASS = 0x2a
|
||||
RTM_GETTFILTER = 0x2e
|
||||
RTM_MAX = 0x67
|
||||
RTM_MAX = 0x6b
|
||||
RTM_NEWACTION = 0x30
|
||||
RTM_NEWADDR = 0x14
|
||||
RTM_NEWADDRLABEL = 0x48
|
||||
|
@ -1900,6 +1933,7 @@ const (
|
|||
RTM_NEWNEIGH = 0x1c
|
||||
RTM_NEWNEIGHTBL = 0x40
|
||||
RTM_NEWNETCONF = 0x50
|
||||
RTM_NEWNEXTHOP = 0x68
|
||||
RTM_NEWNSID = 0x58
|
||||
RTM_NEWPREFIX = 0x34
|
||||
RTM_NEWQDISC = 0x24
|
||||
|
@ -1908,8 +1942,8 @@ const (
|
|||
RTM_NEWSTATS = 0x5c
|
||||
RTM_NEWTCLASS = 0x28
|
||||
RTM_NEWTFILTER = 0x2c
|
||||
RTM_NR_FAMILIES = 0x16
|
||||
RTM_NR_MSGTYPES = 0x58
|
||||
RTM_NR_FAMILIES = 0x17
|
||||
RTM_NR_MSGTYPES = 0x5c
|
||||
RTM_SETDCB = 0x4f
|
||||
RTM_SETLINK = 0x13
|
||||
RTM_SETNEIGHTBL = 0x43
|
||||
|
@ -1994,6 +2028,8 @@ const (
|
|||
SIOCDRARP = 0x8960
|
||||
SIOCETHTOOL = 0x8946
|
||||
SIOCGARP = 0x8954
|
||||
SIOCGETLINKNAME = 0x89e0
|
||||
SIOCGETNODEID = 0x89e1
|
||||
SIOCGHWTSTAMP = 0x89b1
|
||||
SIOCGIFADDR = 0x8915
|
||||
SIOCGIFBR = 0x8940
|
||||
|
@ -2132,6 +2168,7 @@ const (
|
|||
SO_DEBUG = 0x1
|
||||
SO_DETACH_BPF = 0x1b
|
||||
SO_DETACH_FILTER = 0x1b
|
||||
SO_DETACH_REUSEPORT_BPF = 0x44
|
||||
SO_DOMAIN = 0x1029
|
||||
SO_DONTROUTE = 0x10
|
||||
SO_EE_CODE_TXTIME_INVALID_PARAM = 0x1
|
||||
|
@ -2434,6 +2471,71 @@ const (
|
|||
TIOCSTI = 0x5472
|
||||
TIOCSWINSZ = 0x80087467
|
||||
TIOCVHANGUP = 0x5437
|
||||
TIPC_ADDR_ID = 0x3
|
||||
TIPC_ADDR_MCAST = 0x1
|
||||
TIPC_ADDR_NAME = 0x2
|
||||
TIPC_ADDR_NAMESEQ = 0x1
|
||||
TIPC_CFG_SRV = 0x0
|
||||
TIPC_CLUSTER_BITS = 0xc
|
||||
TIPC_CLUSTER_MASK = 0xfff000
|
||||
TIPC_CLUSTER_OFFSET = 0xc
|
||||
TIPC_CLUSTER_SIZE = 0xfff
|
||||
TIPC_CONN_SHUTDOWN = 0x5
|
||||
TIPC_CONN_TIMEOUT = 0x82
|
||||
TIPC_CRITICAL_IMPORTANCE = 0x3
|
||||
TIPC_DESTNAME = 0x3
|
||||
TIPC_DEST_DROPPABLE = 0x81
|
||||
TIPC_ERRINFO = 0x1
|
||||
TIPC_ERR_NO_NAME = 0x1
|
||||
TIPC_ERR_NO_NODE = 0x3
|
||||
TIPC_ERR_NO_PORT = 0x2
|
||||
TIPC_ERR_OVERLOAD = 0x4
|
||||
TIPC_GROUP_JOIN = 0x87
|
||||
TIPC_GROUP_LEAVE = 0x88
|
||||
TIPC_GROUP_LOOPBACK = 0x1
|
||||
TIPC_GROUP_MEMBER_EVTS = 0x2
|
||||
TIPC_HIGH_IMPORTANCE = 0x2
|
||||
TIPC_IMPORTANCE = 0x7f
|
||||
TIPC_LINK_STATE = 0x2
|
||||
TIPC_LOW_IMPORTANCE = 0x0
|
||||
TIPC_MAX_BEARER_NAME = 0x20
|
||||
TIPC_MAX_IF_NAME = 0x10
|
||||
TIPC_MAX_LINK_NAME = 0x44
|
||||
TIPC_MAX_MEDIA_NAME = 0x10
|
||||
TIPC_MAX_USER_MSG_SIZE = 0x101d0
|
||||
TIPC_MCAST_BROADCAST = 0x85
|
||||
TIPC_MCAST_REPLICAST = 0x86
|
||||
TIPC_MEDIUM_IMPORTANCE = 0x1
|
||||
TIPC_NODEID_LEN = 0x10
|
||||
TIPC_NODE_BITS = 0xc
|
||||
TIPC_NODE_MASK = 0xfff
|
||||
TIPC_NODE_OFFSET = 0x0
|
||||
TIPC_NODE_RECVQ_DEPTH = 0x83
|
||||
TIPC_NODE_SIZE = 0xfff
|
||||
TIPC_NODE_STATE = 0x0
|
||||
TIPC_OK = 0x0
|
||||
TIPC_PUBLISHED = 0x1
|
||||
TIPC_RESERVED_TYPES = 0x40
|
||||
TIPC_RETDATA = 0x2
|
||||
TIPC_SERVICE_ADDR = 0x2
|
||||
TIPC_SERVICE_RANGE = 0x1
|
||||
TIPC_SOCKET_ADDR = 0x3
|
||||
TIPC_SOCK_RECVQ_DEPTH = 0x84
|
||||
TIPC_SOCK_RECVQ_USED = 0x89
|
||||
TIPC_SRC_DROPPABLE = 0x80
|
||||
TIPC_SUBSCR_TIMEOUT = 0x3
|
||||
TIPC_SUB_CANCEL = 0x4
|
||||
TIPC_SUB_PORTS = 0x1
|
||||
TIPC_SUB_SERVICE = 0x2
|
||||
TIPC_TOP_SRV = 0x1
|
||||
TIPC_WAIT_FOREVER = 0xffffffff
|
||||
TIPC_WITHDRAWN = 0x2
|
||||
TIPC_ZONE_BITS = 0x8
|
||||
TIPC_ZONE_CLUSTER_MASK = 0xfffff000
|
||||
TIPC_ZONE_MASK = 0xff000000
|
||||
TIPC_ZONE_OFFSET = 0x18
|
||||
TIPC_ZONE_SCOPE = 0x1
|
||||
TIPC_ZONE_SIZE = 0xff
|
||||
TMPFS_MAGIC = 0x1021994
|
||||
TOSTOP = 0x8000
|
||||
TPACKET_ALIGNMENT = 0x10
|
||||
|
@ -2447,7 +2549,7 @@ const (
|
|||
TP_STATUS_LOSING = 0x4
|
||||
TP_STATUS_SENDING = 0x2
|
||||
TP_STATUS_SEND_REQUEST = 0x1
|
||||
TP_STATUS_TS_RAW_HARDWARE = -0x80000000
|
||||
TP_STATUS_TS_RAW_HARDWARE = 0x80000000
|
||||
TP_STATUS_TS_SOFTWARE = 0x20000000
|
||||
TP_STATUS_TS_SYS_HARDWARE = 0x40000000
|
||||
TP_STATUS_USER = 0x1
|
||||
|
@ -2646,6 +2748,8 @@ const (
|
|||
XDP_FLAGS_SKB_MODE = 0x2
|
||||
XDP_FLAGS_UPDATE_IF_NOEXIST = 0x1
|
||||
XDP_MMAP_OFFSETS = 0x1
|
||||
XDP_OPTIONS = 0x8
|
||||
XDP_OPTIONS_ZEROCOPY = 0x1
|
||||
XDP_PACKET_HEADROOM = 0x100
|
||||
XDP_PGOFF_RX_RING = 0x0
|
||||
XDP_PGOFF_TX_RING = 0x80000000
|
||||
|
@ -2662,6 +2766,7 @@ const (
|
|||
XENFS_SUPER_MAGIC = 0xabba1974
|
||||
XFS_SUPER_MAGIC = 0x58465342
|
||||
XTABS = 0x1800
|
||||
Z3FOLD_MAGIC = 0x33
|
||||
ZSMALLOC_MAGIC = 0x58295829
|
||||
)
|
||||
|
||||
|
|
117
vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
generated
vendored
117
vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
generated
vendored
|
@ -253,6 +253,7 @@ const (
|
|||
BPF_F_STACK_BUILD_ID = 0x20
|
||||
BPF_F_STRICT_ALIGNMENT = 0x1
|
||||
BPF_F_SYSCTL_BASE_NAME = 0x1
|
||||
BPF_F_TEST_RND_HI32 = 0x4
|
||||
BPF_F_TUNINFO_IPV6 = 0x1
|
||||
BPF_F_USER_BUILD_ID = 0x800
|
||||
BPF_F_USER_STACK = 0x100
|
||||
|
@ -304,9 +305,10 @@ const (
|
|||
BPF_RET = 0x6
|
||||
BPF_RSH = 0x70
|
||||
BPF_SK_STORAGE_GET_F_CREATE = 0x1
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0x7
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0xf
|
||||
BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2
|
||||
BPF_SOCK_OPS_RTO_CB_FLAG = 0x1
|
||||
BPF_SOCK_OPS_RTT_CB_FLAG = 0x8
|
||||
BPF_SOCK_OPS_STATE_CB_FLAG = 0x4
|
||||
BPF_ST = 0x2
|
||||
BPF_STX = 0x3
|
||||
|
@ -460,6 +462,7 @@ const (
|
|||
DAXFS_MAGIC = 0x64646178
|
||||
DEBUGFS_MAGIC = 0x64626720
|
||||
DEVPTS_SUPER_MAGIC = 0x1cd1
|
||||
DMA_BUF_MAGIC = 0x444d4142
|
||||
DT_BLK = 0x6
|
||||
DT_CHR = 0x2
|
||||
DT_DIR = 0x4
|
||||
|
@ -560,6 +563,7 @@ const (
|
|||
ETH_P_IRDA = 0x17
|
||||
ETH_P_LAT = 0x6004
|
||||
ETH_P_LINK_CTL = 0x886c
|
||||
ETH_P_LLDP = 0x88cc
|
||||
ETH_P_LOCALTALK = 0x9
|
||||
ETH_P_LOOP = 0x60
|
||||
ETH_P_LOOPBACK = 0x9000
|
||||
|
@ -721,6 +725,7 @@ const (
|
|||
F_OFD_SETLKW = 0x26
|
||||
F_OK = 0x0
|
||||
F_RDLCK = 0x0
|
||||
F_SEAL_FUTURE_WRITE = 0x10
|
||||
F_SEAL_GROW = 0x4
|
||||
F_SEAL_SEAL = 0x1
|
||||
F_SEAL_SHRINK = 0x2
|
||||
|
@ -986,6 +991,7 @@ const (
|
|||
IPV6_RECVRTHDR = 0x38
|
||||
IPV6_RECVTCLASS = 0x42
|
||||
IPV6_ROUTER_ALERT = 0x16
|
||||
IPV6_ROUTER_ALERT_ISOLATE = 0x1e
|
||||
IPV6_RTHDR = 0x39
|
||||
IPV6_RTHDRDSTOPTS = 0x37
|
||||
IPV6_RTHDR_LOOSE = 0x0
|
||||
|
@ -1084,6 +1090,17 @@ const (
|
|||
KEXEC_PRESERVE_CONTEXT = 0x2
|
||||
KEXEC_SEGMENT_MAX = 0x10
|
||||
KEYCTL_ASSUME_AUTHORITY = 0x10
|
||||
KEYCTL_CAPABILITIES = 0x1f
|
||||
KEYCTL_CAPS0_BIG_KEY = 0x10
|
||||
KEYCTL_CAPS0_CAPABILITIES = 0x1
|
||||
KEYCTL_CAPS0_DIFFIE_HELLMAN = 0x4
|
||||
KEYCTL_CAPS0_INVALIDATE = 0x20
|
||||
KEYCTL_CAPS0_MOVE = 0x80
|
||||
KEYCTL_CAPS0_PERSISTENT_KEYRINGS = 0x2
|
||||
KEYCTL_CAPS0_PUBLIC_KEY = 0x8
|
||||
KEYCTL_CAPS0_RESTRICT_KEYRING = 0x40
|
||||
KEYCTL_CAPS1_NS_KEYRING_NAME = 0x1
|
||||
KEYCTL_CAPS1_NS_KEY_TAG = 0x2
|
||||
KEYCTL_CHOWN = 0x4
|
||||
KEYCTL_CLEAR = 0x7
|
||||
KEYCTL_DESCRIBE = 0x6
|
||||
|
@ -1096,6 +1113,8 @@ const (
|
|||
KEYCTL_INVALIDATE = 0x15
|
||||
KEYCTL_JOIN_SESSION_KEYRING = 0x1
|
||||
KEYCTL_LINK = 0x8
|
||||
KEYCTL_MOVE = 0x1e
|
||||
KEYCTL_MOVE_EXCL = 0x1
|
||||
KEYCTL_NEGATE = 0xd
|
||||
KEYCTL_PKEY_DECRYPT = 0x1a
|
||||
KEYCTL_PKEY_ENCRYPT = 0x19
|
||||
|
@ -1340,6 +1359,7 @@ const (
|
|||
NETLINK_XFRM = 0x6
|
||||
NETNSA_MAX = 0x5
|
||||
NETNSA_NSID_NOT_ASSIGNED = -0x1
|
||||
NFDBITS = 0x40
|
||||
NFNETLINK_V0 = 0x0
|
||||
NFNLGRP_ACCT_QUOTA = 0x8
|
||||
NFNLGRP_CONNTRACK_DESTROY = 0x3
|
||||
|
@ -1404,6 +1424,10 @@ const (
|
|||
NLM_F_ROOT = 0x100
|
||||
NOFLSH = 0x80
|
||||
NSFS_MAGIC = 0x6e736673
|
||||
NS_GET_NSTYPE = 0x2000b703
|
||||
NS_GET_OWNER_UID = 0x2000b704
|
||||
NS_GET_PARENT = 0x2000b702
|
||||
NS_GET_USERNS = 0x2000b701
|
||||
OCFS2_SUPER_MAGIC = 0x7461636f
|
||||
OCRNL = 0x8
|
||||
OFDEL = 0x80
|
||||
|
@ -1669,6 +1693,8 @@ const (
|
|||
PTRACE_ATTACH = 0x10
|
||||
PTRACE_CONT = 0x7
|
||||
PTRACE_DETACH = 0x11
|
||||
PTRACE_EVENTMSG_SYSCALL_ENTRY = 0x1
|
||||
PTRACE_EVENTMSG_SYSCALL_EXIT = 0x2
|
||||
PTRACE_EVENT_CLONE = 0x3
|
||||
PTRACE_EVENT_EXEC = 0x4
|
||||
PTRACE_EVENT_EXIT = 0x6
|
||||
|
@ -1683,6 +1709,7 @@ const (
|
|||
PTRACE_GETREGSET = 0x4204
|
||||
PTRACE_GETSIGINFO = 0x4202
|
||||
PTRACE_GETSIGMASK = 0x420a
|
||||
PTRACE_GET_SYSCALL_INFO = 0x420e
|
||||
PTRACE_GET_THREAD_AREA = 0x19
|
||||
PTRACE_GET_THREAD_AREA_3264 = 0xc4
|
||||
PTRACE_GET_WATCH_REGS = 0xd0
|
||||
|
@ -1726,6 +1753,10 @@ const (
|
|||
PTRACE_SET_WATCH_REGS = 0xd1
|
||||
PTRACE_SINGLESTEP = 0x9
|
||||
PTRACE_SYSCALL = 0x18
|
||||
PTRACE_SYSCALL_INFO_ENTRY = 0x1
|
||||
PTRACE_SYSCALL_INFO_EXIT = 0x2
|
||||
PTRACE_SYSCALL_INFO_NONE = 0x0
|
||||
PTRACE_SYSCALL_INFO_SECCOMP = 0x3
|
||||
PTRACE_TRACEME = 0x0
|
||||
QNX4_SUPER_MAGIC = 0x2f
|
||||
QNX6_SUPER_MAGIC = 0x68191122
|
||||
|
@ -1784,7 +1815,7 @@ const (
|
|||
RTAX_UNSPEC = 0x0
|
||||
RTAX_WINDOW = 0x3
|
||||
RTA_ALIGNTO = 0x4
|
||||
RTA_MAX = 0x1d
|
||||
RTA_MAX = 0x1e
|
||||
RTCF_DIRECTSRC = 0x4000000
|
||||
RTCF_DOREDIRECT = 0x1000000
|
||||
RTCF_LOG = 0x2000000
|
||||
|
@ -1857,6 +1888,7 @@ const (
|
|||
RTM_DELMDB = 0x55
|
||||
RTM_DELNEIGH = 0x1d
|
||||
RTM_DELNETCONF = 0x51
|
||||
RTM_DELNEXTHOP = 0x69
|
||||
RTM_DELNSID = 0x59
|
||||
RTM_DELQDISC = 0x25
|
||||
RTM_DELROUTE = 0x19
|
||||
|
@ -1881,6 +1913,7 @@ const (
|
|||
RTM_GETNEIGH = 0x1e
|
||||
RTM_GETNEIGHTBL = 0x42
|
||||
RTM_GETNETCONF = 0x52
|
||||
RTM_GETNEXTHOP = 0x6a
|
||||
RTM_GETNSID = 0x5a
|
||||
RTM_GETQDISC = 0x26
|
||||
RTM_GETROUTE = 0x1a
|
||||
|
@ -1888,7 +1921,7 @@ const (
|
|||
RTM_GETSTATS = 0x5e
|
||||
RTM_GETTCLASS = 0x2a
|
||||
RTM_GETTFILTER = 0x2e
|
||||
RTM_MAX = 0x67
|
||||
RTM_MAX = 0x6b
|
||||
RTM_NEWACTION = 0x30
|
||||
RTM_NEWADDR = 0x14
|
||||
RTM_NEWADDRLABEL = 0x48
|
||||
|
@ -1900,6 +1933,7 @@ const (
|
|||
RTM_NEWNEIGH = 0x1c
|
||||
RTM_NEWNEIGHTBL = 0x40
|
||||
RTM_NEWNETCONF = 0x50
|
||||
RTM_NEWNEXTHOP = 0x68
|
||||
RTM_NEWNSID = 0x58
|
||||
RTM_NEWPREFIX = 0x34
|
||||
RTM_NEWQDISC = 0x24
|
||||
|
@ -1908,8 +1942,8 @@ const (
|
|||
RTM_NEWSTATS = 0x5c
|
||||
RTM_NEWTCLASS = 0x28
|
||||
RTM_NEWTFILTER = 0x2c
|
||||
RTM_NR_FAMILIES = 0x16
|
||||
RTM_NR_MSGTYPES = 0x58
|
||||
RTM_NR_FAMILIES = 0x17
|
||||
RTM_NR_MSGTYPES = 0x5c
|
||||
RTM_SETDCB = 0x4f
|
||||
RTM_SETLINK = 0x13
|
||||
RTM_SETNEIGHTBL = 0x43
|
||||
|
@ -1994,6 +2028,8 @@ const (
|
|||
SIOCDRARP = 0x8960
|
||||
SIOCETHTOOL = 0x8946
|
||||
SIOCGARP = 0x8954
|
||||
SIOCGETLINKNAME = 0x89e0
|
||||
SIOCGETNODEID = 0x89e1
|
||||
SIOCGHWTSTAMP = 0x89b1
|
||||
SIOCGIFADDR = 0x8915
|
||||
SIOCGIFBR = 0x8940
|
||||
|
@ -2132,6 +2168,7 @@ const (
|
|||
SO_DEBUG = 0x1
|
||||
SO_DETACH_BPF = 0x1b
|
||||
SO_DETACH_FILTER = 0x1b
|
||||
SO_DETACH_REUSEPORT_BPF = 0x44
|
||||
SO_DOMAIN = 0x1029
|
||||
SO_DONTROUTE = 0x10
|
||||
SO_EE_CODE_TXTIME_INVALID_PARAM = 0x1
|
||||
|
@ -2434,6 +2471,71 @@ const (
|
|||
TIOCSTI = 0x5472
|
||||
TIOCSWINSZ = 0x80087467
|
||||
TIOCVHANGUP = 0x5437
|
||||
TIPC_ADDR_ID = 0x3
|
||||
TIPC_ADDR_MCAST = 0x1
|
||||
TIPC_ADDR_NAME = 0x2
|
||||
TIPC_ADDR_NAMESEQ = 0x1
|
||||
TIPC_CFG_SRV = 0x0
|
||||
TIPC_CLUSTER_BITS = 0xc
|
||||
TIPC_CLUSTER_MASK = 0xfff000
|
||||
TIPC_CLUSTER_OFFSET = 0xc
|
||||
TIPC_CLUSTER_SIZE = 0xfff
|
||||
TIPC_CONN_SHUTDOWN = 0x5
|
||||
TIPC_CONN_TIMEOUT = 0x82
|
||||
TIPC_CRITICAL_IMPORTANCE = 0x3
|
||||
TIPC_DESTNAME = 0x3
|
||||
TIPC_DEST_DROPPABLE = 0x81
|
||||
TIPC_ERRINFO = 0x1
|
||||
TIPC_ERR_NO_NAME = 0x1
|
||||
TIPC_ERR_NO_NODE = 0x3
|
||||
TIPC_ERR_NO_PORT = 0x2
|
||||
TIPC_ERR_OVERLOAD = 0x4
|
||||
TIPC_GROUP_JOIN = 0x87
|
||||
TIPC_GROUP_LEAVE = 0x88
|
||||
TIPC_GROUP_LOOPBACK = 0x1
|
||||
TIPC_GROUP_MEMBER_EVTS = 0x2
|
||||
TIPC_HIGH_IMPORTANCE = 0x2
|
||||
TIPC_IMPORTANCE = 0x7f
|
||||
TIPC_LINK_STATE = 0x2
|
||||
TIPC_LOW_IMPORTANCE = 0x0
|
||||
TIPC_MAX_BEARER_NAME = 0x20
|
||||
TIPC_MAX_IF_NAME = 0x10
|
||||
TIPC_MAX_LINK_NAME = 0x44
|
||||
TIPC_MAX_MEDIA_NAME = 0x10
|
||||
TIPC_MAX_USER_MSG_SIZE = 0x101d0
|
||||
TIPC_MCAST_BROADCAST = 0x85
|
||||
TIPC_MCAST_REPLICAST = 0x86
|
||||
TIPC_MEDIUM_IMPORTANCE = 0x1
|
||||
TIPC_NODEID_LEN = 0x10
|
||||
TIPC_NODE_BITS = 0xc
|
||||
TIPC_NODE_MASK = 0xfff
|
||||
TIPC_NODE_OFFSET = 0x0
|
||||
TIPC_NODE_RECVQ_DEPTH = 0x83
|
||||
TIPC_NODE_SIZE = 0xfff
|
||||
TIPC_NODE_STATE = 0x0
|
||||
TIPC_OK = 0x0
|
||||
TIPC_PUBLISHED = 0x1
|
||||
TIPC_RESERVED_TYPES = 0x40
|
||||
TIPC_RETDATA = 0x2
|
||||
TIPC_SERVICE_ADDR = 0x2
|
||||
TIPC_SERVICE_RANGE = 0x1
|
||||
TIPC_SOCKET_ADDR = 0x3
|
||||
TIPC_SOCK_RECVQ_DEPTH = 0x84
|
||||
TIPC_SOCK_RECVQ_USED = 0x89
|
||||
TIPC_SRC_DROPPABLE = 0x80
|
||||
TIPC_SUBSCR_TIMEOUT = 0x3
|
||||
TIPC_SUB_CANCEL = 0x4
|
||||
TIPC_SUB_PORTS = 0x1
|
||||
TIPC_SUB_SERVICE = 0x2
|
||||
TIPC_TOP_SRV = 0x1
|
||||
TIPC_WAIT_FOREVER = 0xffffffff
|
||||
TIPC_WITHDRAWN = 0x2
|
||||
TIPC_ZONE_BITS = 0x8
|
||||
TIPC_ZONE_CLUSTER_MASK = 0xfffff000
|
||||
TIPC_ZONE_MASK = 0xff000000
|
||||
TIPC_ZONE_OFFSET = 0x18
|
||||
TIPC_ZONE_SCOPE = 0x1
|
||||
TIPC_ZONE_SIZE = 0xff
|
||||
TMPFS_MAGIC = 0x1021994
|
||||
TOSTOP = 0x8000
|
||||
TPACKET_ALIGNMENT = 0x10
|
||||
|
@ -2447,7 +2549,7 @@ const (
|
|||
TP_STATUS_LOSING = 0x4
|
||||
TP_STATUS_SENDING = 0x2
|
||||
TP_STATUS_SEND_REQUEST = 0x1
|
||||
TP_STATUS_TS_RAW_HARDWARE = -0x80000000
|
||||
TP_STATUS_TS_RAW_HARDWARE = 0x80000000
|
||||
TP_STATUS_TS_SOFTWARE = 0x20000000
|
||||
TP_STATUS_TS_SYS_HARDWARE = 0x40000000
|
||||
TP_STATUS_USER = 0x1
|
||||
|
@ -2646,6 +2748,8 @@ const (
|
|||
XDP_FLAGS_SKB_MODE = 0x2
|
||||
XDP_FLAGS_UPDATE_IF_NOEXIST = 0x1
|
||||
XDP_MMAP_OFFSETS = 0x1
|
||||
XDP_OPTIONS = 0x8
|
||||
XDP_OPTIONS_ZEROCOPY = 0x1
|
||||
XDP_PACKET_HEADROOM = 0x100
|
||||
XDP_PGOFF_RX_RING = 0x0
|
||||
XDP_PGOFF_TX_RING = 0x80000000
|
||||
|
@ -2662,6 +2766,7 @@ const (
|
|||
XENFS_SUPER_MAGIC = 0xabba1974
|
||||
XFS_SUPER_MAGIC = 0x58465342
|
||||
XTABS = 0x1800
|
||||
Z3FOLD_MAGIC = 0x33
|
||||
ZSMALLOC_MAGIC = 0x58295829
|
||||
)
|
||||
|
||||
|
|
117
vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
generated
vendored
117
vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
generated
vendored
|
@ -253,6 +253,7 @@ const (
|
|||
BPF_F_STACK_BUILD_ID = 0x20
|
||||
BPF_F_STRICT_ALIGNMENT = 0x1
|
||||
BPF_F_SYSCTL_BASE_NAME = 0x1
|
||||
BPF_F_TEST_RND_HI32 = 0x4
|
||||
BPF_F_TUNINFO_IPV6 = 0x1
|
||||
BPF_F_USER_BUILD_ID = 0x800
|
||||
BPF_F_USER_STACK = 0x100
|
||||
|
@ -304,9 +305,10 @@ const (
|
|||
BPF_RET = 0x6
|
||||
BPF_RSH = 0x70
|
||||
BPF_SK_STORAGE_GET_F_CREATE = 0x1
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0x7
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0xf
|
||||
BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2
|
||||
BPF_SOCK_OPS_RTO_CB_FLAG = 0x1
|
||||
BPF_SOCK_OPS_RTT_CB_FLAG = 0x8
|
||||
BPF_SOCK_OPS_STATE_CB_FLAG = 0x4
|
||||
BPF_ST = 0x2
|
||||
BPF_STX = 0x3
|
||||
|
@ -460,6 +462,7 @@ const (
|
|||
DAXFS_MAGIC = 0x64646178
|
||||
DEBUGFS_MAGIC = 0x64626720
|
||||
DEVPTS_SUPER_MAGIC = 0x1cd1
|
||||
DMA_BUF_MAGIC = 0x444d4142
|
||||
DT_BLK = 0x6
|
||||
DT_CHR = 0x2
|
||||
DT_DIR = 0x4
|
||||
|
@ -560,6 +563,7 @@ const (
|
|||
ETH_P_IRDA = 0x17
|
||||
ETH_P_LAT = 0x6004
|
||||
ETH_P_LINK_CTL = 0x886c
|
||||
ETH_P_LLDP = 0x88cc
|
||||
ETH_P_LOCALTALK = 0x9
|
||||
ETH_P_LOOP = 0x60
|
||||
ETH_P_LOOPBACK = 0x9000
|
||||
|
@ -721,6 +725,7 @@ const (
|
|||
F_OFD_SETLKW = 0x26
|
||||
F_OK = 0x0
|
||||
F_RDLCK = 0x0
|
||||
F_SEAL_FUTURE_WRITE = 0x10
|
||||
F_SEAL_GROW = 0x4
|
||||
F_SEAL_SEAL = 0x1
|
||||
F_SEAL_SHRINK = 0x2
|
||||
|
@ -986,6 +991,7 @@ const (
|
|||
IPV6_RECVRTHDR = 0x38
|
||||
IPV6_RECVTCLASS = 0x42
|
||||
IPV6_ROUTER_ALERT = 0x16
|
||||
IPV6_ROUTER_ALERT_ISOLATE = 0x1e
|
||||
IPV6_RTHDR = 0x39
|
||||
IPV6_RTHDRDSTOPTS = 0x37
|
||||
IPV6_RTHDR_LOOSE = 0x0
|
||||
|
@ -1084,6 +1090,17 @@ const (
|
|||
KEXEC_PRESERVE_CONTEXT = 0x2
|
||||
KEXEC_SEGMENT_MAX = 0x10
|
||||
KEYCTL_ASSUME_AUTHORITY = 0x10
|
||||
KEYCTL_CAPABILITIES = 0x1f
|
||||
KEYCTL_CAPS0_BIG_KEY = 0x10
|
||||
KEYCTL_CAPS0_CAPABILITIES = 0x1
|
||||
KEYCTL_CAPS0_DIFFIE_HELLMAN = 0x4
|
||||
KEYCTL_CAPS0_INVALIDATE = 0x20
|
||||
KEYCTL_CAPS0_MOVE = 0x80
|
||||
KEYCTL_CAPS0_PERSISTENT_KEYRINGS = 0x2
|
||||
KEYCTL_CAPS0_PUBLIC_KEY = 0x8
|
||||
KEYCTL_CAPS0_RESTRICT_KEYRING = 0x40
|
||||
KEYCTL_CAPS1_NS_KEYRING_NAME = 0x1
|
||||
KEYCTL_CAPS1_NS_KEY_TAG = 0x2
|
||||
KEYCTL_CHOWN = 0x4
|
||||
KEYCTL_CLEAR = 0x7
|
||||
KEYCTL_DESCRIBE = 0x6
|
||||
|
@ -1096,6 +1113,8 @@ const (
|
|||
KEYCTL_INVALIDATE = 0x15
|
||||
KEYCTL_JOIN_SESSION_KEYRING = 0x1
|
||||
KEYCTL_LINK = 0x8
|
||||
KEYCTL_MOVE = 0x1e
|
||||
KEYCTL_MOVE_EXCL = 0x1
|
||||
KEYCTL_NEGATE = 0xd
|
||||
KEYCTL_PKEY_DECRYPT = 0x1a
|
||||
KEYCTL_PKEY_ENCRYPT = 0x19
|
||||
|
@ -1340,6 +1359,7 @@ const (
|
|||
NETLINK_XFRM = 0x6
|
||||
NETNSA_MAX = 0x5
|
||||
NETNSA_NSID_NOT_ASSIGNED = -0x1
|
||||
NFDBITS = 0x20
|
||||
NFNETLINK_V0 = 0x0
|
||||
NFNLGRP_ACCT_QUOTA = 0x8
|
||||
NFNLGRP_CONNTRACK_DESTROY = 0x3
|
||||
|
@ -1404,6 +1424,10 @@ const (
|
|||
NLM_F_ROOT = 0x100
|
||||
NOFLSH = 0x80
|
||||
NSFS_MAGIC = 0x6e736673
|
||||
NS_GET_NSTYPE = 0x2000b703
|
||||
NS_GET_OWNER_UID = 0x2000b704
|
||||
NS_GET_PARENT = 0x2000b702
|
||||
NS_GET_USERNS = 0x2000b701
|
||||
OCFS2_SUPER_MAGIC = 0x7461636f
|
||||
OCRNL = 0x8
|
||||
OFDEL = 0x80
|
||||
|
@ -1669,6 +1693,8 @@ const (
|
|||
PTRACE_ATTACH = 0x10
|
||||
PTRACE_CONT = 0x7
|
||||
PTRACE_DETACH = 0x11
|
||||
PTRACE_EVENTMSG_SYSCALL_ENTRY = 0x1
|
||||
PTRACE_EVENTMSG_SYSCALL_EXIT = 0x2
|
||||
PTRACE_EVENT_CLONE = 0x3
|
||||
PTRACE_EVENT_EXEC = 0x4
|
||||
PTRACE_EVENT_EXIT = 0x6
|
||||
|
@ -1683,6 +1709,7 @@ const (
|
|||
PTRACE_GETREGSET = 0x4204
|
||||
PTRACE_GETSIGINFO = 0x4202
|
||||
PTRACE_GETSIGMASK = 0x420a
|
||||
PTRACE_GET_SYSCALL_INFO = 0x420e
|
||||
PTRACE_GET_THREAD_AREA = 0x19
|
||||
PTRACE_GET_THREAD_AREA_3264 = 0xc4
|
||||
PTRACE_GET_WATCH_REGS = 0xd0
|
||||
|
@ -1726,6 +1753,10 @@ const (
|
|||
PTRACE_SET_WATCH_REGS = 0xd1
|
||||
PTRACE_SINGLESTEP = 0x9
|
||||
PTRACE_SYSCALL = 0x18
|
||||
PTRACE_SYSCALL_INFO_ENTRY = 0x1
|
||||
PTRACE_SYSCALL_INFO_EXIT = 0x2
|
||||
PTRACE_SYSCALL_INFO_NONE = 0x0
|
||||
PTRACE_SYSCALL_INFO_SECCOMP = 0x3
|
||||
PTRACE_TRACEME = 0x0
|
||||
QNX4_SUPER_MAGIC = 0x2f
|
||||
QNX6_SUPER_MAGIC = 0x68191122
|
||||
|
@ -1784,7 +1815,7 @@ const (
|
|||
RTAX_UNSPEC = 0x0
|
||||
RTAX_WINDOW = 0x3
|
||||
RTA_ALIGNTO = 0x4
|
||||
RTA_MAX = 0x1d
|
||||
RTA_MAX = 0x1e
|
||||
RTCF_DIRECTSRC = 0x4000000
|
||||
RTCF_DOREDIRECT = 0x1000000
|
||||
RTCF_LOG = 0x2000000
|
||||
|
@ -1857,6 +1888,7 @@ const (
|
|||
RTM_DELMDB = 0x55
|
||||
RTM_DELNEIGH = 0x1d
|
||||
RTM_DELNETCONF = 0x51
|
||||
RTM_DELNEXTHOP = 0x69
|
||||
RTM_DELNSID = 0x59
|
||||
RTM_DELQDISC = 0x25
|
||||
RTM_DELROUTE = 0x19
|
||||
|
@ -1881,6 +1913,7 @@ const (
|
|||
RTM_GETNEIGH = 0x1e
|
||||
RTM_GETNEIGHTBL = 0x42
|
||||
RTM_GETNETCONF = 0x52
|
||||
RTM_GETNEXTHOP = 0x6a
|
||||
RTM_GETNSID = 0x5a
|
||||
RTM_GETQDISC = 0x26
|
||||
RTM_GETROUTE = 0x1a
|
||||
|
@ -1888,7 +1921,7 @@ const (
|
|||
RTM_GETSTATS = 0x5e
|
||||
RTM_GETTCLASS = 0x2a
|
||||
RTM_GETTFILTER = 0x2e
|
||||
RTM_MAX = 0x67
|
||||
RTM_MAX = 0x6b
|
||||
RTM_NEWACTION = 0x30
|
||||
RTM_NEWADDR = 0x14
|
||||
RTM_NEWADDRLABEL = 0x48
|
||||
|
@ -1900,6 +1933,7 @@ const (
|
|||
RTM_NEWNEIGH = 0x1c
|
||||
RTM_NEWNEIGHTBL = 0x40
|
||||
RTM_NEWNETCONF = 0x50
|
||||
RTM_NEWNEXTHOP = 0x68
|
||||
RTM_NEWNSID = 0x58
|
||||
RTM_NEWPREFIX = 0x34
|
||||
RTM_NEWQDISC = 0x24
|
||||
|
@ -1908,8 +1942,8 @@ const (
|
|||
RTM_NEWSTATS = 0x5c
|
||||
RTM_NEWTCLASS = 0x28
|
||||
RTM_NEWTFILTER = 0x2c
|
||||
RTM_NR_FAMILIES = 0x16
|
||||
RTM_NR_MSGTYPES = 0x58
|
||||
RTM_NR_FAMILIES = 0x17
|
||||
RTM_NR_MSGTYPES = 0x5c
|
||||
RTM_SETDCB = 0x4f
|
||||
RTM_SETLINK = 0x13
|
||||
RTM_SETNEIGHTBL = 0x43
|
||||
|
@ -1994,6 +2028,8 @@ const (
|
|||
SIOCDRARP = 0x8960
|
||||
SIOCETHTOOL = 0x8946
|
||||
SIOCGARP = 0x8954
|
||||
SIOCGETLINKNAME = 0x89e0
|
||||
SIOCGETNODEID = 0x89e1
|
||||
SIOCGHWTSTAMP = 0x89b1
|
||||
SIOCGIFADDR = 0x8915
|
||||
SIOCGIFBR = 0x8940
|
||||
|
@ -2132,6 +2168,7 @@ const (
|
|||
SO_DEBUG = 0x1
|
||||
SO_DETACH_BPF = 0x1b
|
||||
SO_DETACH_FILTER = 0x1b
|
||||
SO_DETACH_REUSEPORT_BPF = 0x44
|
||||
SO_DOMAIN = 0x1029
|
||||
SO_DONTROUTE = 0x10
|
||||
SO_EE_CODE_TXTIME_INVALID_PARAM = 0x1
|
||||
|
@ -2434,6 +2471,71 @@ const (
|
|||
TIOCSTI = 0x5472
|
||||
TIOCSWINSZ = 0x80087467
|
||||
TIOCVHANGUP = 0x5437
|
||||
TIPC_ADDR_ID = 0x3
|
||||
TIPC_ADDR_MCAST = 0x1
|
||||
TIPC_ADDR_NAME = 0x2
|
||||
TIPC_ADDR_NAMESEQ = 0x1
|
||||
TIPC_CFG_SRV = 0x0
|
||||
TIPC_CLUSTER_BITS = 0xc
|
||||
TIPC_CLUSTER_MASK = 0xfff000
|
||||
TIPC_CLUSTER_OFFSET = 0xc
|
||||
TIPC_CLUSTER_SIZE = 0xfff
|
||||
TIPC_CONN_SHUTDOWN = 0x5
|
||||
TIPC_CONN_TIMEOUT = 0x82
|
||||
TIPC_CRITICAL_IMPORTANCE = 0x3
|
||||
TIPC_DESTNAME = 0x3
|
||||
TIPC_DEST_DROPPABLE = 0x81
|
||||
TIPC_ERRINFO = 0x1
|
||||
TIPC_ERR_NO_NAME = 0x1
|
||||
TIPC_ERR_NO_NODE = 0x3
|
||||
TIPC_ERR_NO_PORT = 0x2
|
||||
TIPC_ERR_OVERLOAD = 0x4
|
||||
TIPC_GROUP_JOIN = 0x87
|
||||
TIPC_GROUP_LEAVE = 0x88
|
||||
TIPC_GROUP_LOOPBACK = 0x1
|
||||
TIPC_GROUP_MEMBER_EVTS = 0x2
|
||||
TIPC_HIGH_IMPORTANCE = 0x2
|
||||
TIPC_IMPORTANCE = 0x7f
|
||||
TIPC_LINK_STATE = 0x2
|
||||
TIPC_LOW_IMPORTANCE = 0x0
|
||||
TIPC_MAX_BEARER_NAME = 0x20
|
||||
TIPC_MAX_IF_NAME = 0x10
|
||||
TIPC_MAX_LINK_NAME = 0x44
|
||||
TIPC_MAX_MEDIA_NAME = 0x10
|
||||
TIPC_MAX_USER_MSG_SIZE = 0x101d0
|
||||
TIPC_MCAST_BROADCAST = 0x85
|
||||
TIPC_MCAST_REPLICAST = 0x86
|
||||
TIPC_MEDIUM_IMPORTANCE = 0x1
|
||||
TIPC_NODEID_LEN = 0x10
|
||||
TIPC_NODE_BITS = 0xc
|
||||
TIPC_NODE_MASK = 0xfff
|
||||
TIPC_NODE_OFFSET = 0x0
|
||||
TIPC_NODE_RECVQ_DEPTH = 0x83
|
||||
TIPC_NODE_SIZE = 0xfff
|
||||
TIPC_NODE_STATE = 0x0
|
||||
TIPC_OK = 0x0
|
||||
TIPC_PUBLISHED = 0x1
|
||||
TIPC_RESERVED_TYPES = 0x40
|
||||
TIPC_RETDATA = 0x2
|
||||
TIPC_SERVICE_ADDR = 0x2
|
||||
TIPC_SERVICE_RANGE = 0x1
|
||||
TIPC_SOCKET_ADDR = 0x3
|
||||
TIPC_SOCK_RECVQ_DEPTH = 0x84
|
||||
TIPC_SOCK_RECVQ_USED = 0x89
|
||||
TIPC_SRC_DROPPABLE = 0x80
|
||||
TIPC_SUBSCR_TIMEOUT = 0x3
|
||||
TIPC_SUB_CANCEL = 0x4
|
||||
TIPC_SUB_PORTS = 0x1
|
||||
TIPC_SUB_SERVICE = 0x2
|
||||
TIPC_TOP_SRV = 0x1
|
||||
TIPC_WAIT_FOREVER = 0xffffffff
|
||||
TIPC_WITHDRAWN = 0x2
|
||||
TIPC_ZONE_BITS = 0x8
|
||||
TIPC_ZONE_CLUSTER_MASK = 0xfffff000
|
||||
TIPC_ZONE_MASK = 0xff000000
|
||||
TIPC_ZONE_OFFSET = 0x18
|
||||
TIPC_ZONE_SCOPE = 0x1
|
||||
TIPC_ZONE_SIZE = 0xff
|
||||
TMPFS_MAGIC = 0x1021994
|
||||
TOSTOP = 0x8000
|
||||
TPACKET_ALIGNMENT = 0x10
|
||||
|
@ -2447,7 +2549,7 @@ const (
|
|||
TP_STATUS_LOSING = 0x4
|
||||
TP_STATUS_SENDING = 0x2
|
||||
TP_STATUS_SEND_REQUEST = 0x1
|
||||
TP_STATUS_TS_RAW_HARDWARE = -0x80000000
|
||||
TP_STATUS_TS_RAW_HARDWARE = 0x80000000
|
||||
TP_STATUS_TS_SOFTWARE = 0x20000000
|
||||
TP_STATUS_TS_SYS_HARDWARE = 0x40000000
|
||||
TP_STATUS_USER = 0x1
|
||||
|
@ -2646,6 +2748,8 @@ const (
|
|||
XDP_FLAGS_SKB_MODE = 0x2
|
||||
XDP_FLAGS_UPDATE_IF_NOEXIST = 0x1
|
||||
XDP_MMAP_OFFSETS = 0x1
|
||||
XDP_OPTIONS = 0x8
|
||||
XDP_OPTIONS_ZEROCOPY = 0x1
|
||||
XDP_PACKET_HEADROOM = 0x100
|
||||
XDP_PGOFF_RX_RING = 0x0
|
||||
XDP_PGOFF_TX_RING = 0x80000000
|
||||
|
@ -2662,6 +2766,7 @@ const (
|
|||
XENFS_SUPER_MAGIC = 0xabba1974
|
||||
XFS_SUPER_MAGIC = 0x58465342
|
||||
XTABS = 0x1800
|
||||
Z3FOLD_MAGIC = 0x33
|
||||
ZSMALLOC_MAGIC = 0x58295829
|
||||
)
|
||||
|
||||
|
|
117
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
generated
vendored
117
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
generated
vendored
|
@ -253,6 +253,7 @@ const (
|
|||
BPF_F_STACK_BUILD_ID = 0x20
|
||||
BPF_F_STRICT_ALIGNMENT = 0x1
|
||||
BPF_F_SYSCTL_BASE_NAME = 0x1
|
||||
BPF_F_TEST_RND_HI32 = 0x4
|
||||
BPF_F_TUNINFO_IPV6 = 0x1
|
||||
BPF_F_USER_BUILD_ID = 0x800
|
||||
BPF_F_USER_STACK = 0x100
|
||||
|
@ -304,9 +305,10 @@ const (
|
|||
BPF_RET = 0x6
|
||||
BPF_RSH = 0x70
|
||||
BPF_SK_STORAGE_GET_F_CREATE = 0x1
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0x7
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0xf
|
||||
BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2
|
||||
BPF_SOCK_OPS_RTO_CB_FLAG = 0x1
|
||||
BPF_SOCK_OPS_RTT_CB_FLAG = 0x8
|
||||
BPF_SOCK_OPS_STATE_CB_FLAG = 0x4
|
||||
BPF_ST = 0x2
|
||||
BPF_STX = 0x3
|
||||
|
@ -460,6 +462,7 @@ const (
|
|||
DAXFS_MAGIC = 0x64646178
|
||||
DEBUGFS_MAGIC = 0x64626720
|
||||
DEVPTS_SUPER_MAGIC = 0x1cd1
|
||||
DMA_BUF_MAGIC = 0x444d4142
|
||||
DT_BLK = 0x6
|
||||
DT_CHR = 0x2
|
||||
DT_DIR = 0x4
|
||||
|
@ -560,6 +563,7 @@ const (
|
|||
ETH_P_IRDA = 0x17
|
||||
ETH_P_LAT = 0x6004
|
||||
ETH_P_LINK_CTL = 0x886c
|
||||
ETH_P_LLDP = 0x88cc
|
||||
ETH_P_LOCALTALK = 0x9
|
||||
ETH_P_LOOP = 0x60
|
||||
ETH_P_LOOPBACK = 0x9000
|
||||
|
@ -721,6 +725,7 @@ const (
|
|||
F_OFD_SETLKW = 0x26
|
||||
F_OK = 0x0
|
||||
F_RDLCK = 0x0
|
||||
F_SEAL_FUTURE_WRITE = 0x10
|
||||
F_SEAL_GROW = 0x4
|
||||
F_SEAL_SEAL = 0x1
|
||||
F_SEAL_SHRINK = 0x2
|
||||
|
@ -986,6 +991,7 @@ const (
|
|||
IPV6_RECVRTHDR = 0x38
|
||||
IPV6_RECVTCLASS = 0x42
|
||||
IPV6_ROUTER_ALERT = 0x16
|
||||
IPV6_ROUTER_ALERT_ISOLATE = 0x1e
|
||||
IPV6_RTHDR = 0x39
|
||||
IPV6_RTHDRDSTOPTS = 0x37
|
||||
IPV6_RTHDR_LOOSE = 0x0
|
||||
|
@ -1084,6 +1090,17 @@ const (
|
|||
KEXEC_PRESERVE_CONTEXT = 0x2
|
||||
KEXEC_SEGMENT_MAX = 0x10
|
||||
KEYCTL_ASSUME_AUTHORITY = 0x10
|
||||
KEYCTL_CAPABILITIES = 0x1f
|
||||
KEYCTL_CAPS0_BIG_KEY = 0x10
|
||||
KEYCTL_CAPS0_CAPABILITIES = 0x1
|
||||
KEYCTL_CAPS0_DIFFIE_HELLMAN = 0x4
|
||||
KEYCTL_CAPS0_INVALIDATE = 0x20
|
||||
KEYCTL_CAPS0_MOVE = 0x80
|
||||
KEYCTL_CAPS0_PERSISTENT_KEYRINGS = 0x2
|
||||
KEYCTL_CAPS0_PUBLIC_KEY = 0x8
|
||||
KEYCTL_CAPS0_RESTRICT_KEYRING = 0x40
|
||||
KEYCTL_CAPS1_NS_KEYRING_NAME = 0x1
|
||||
KEYCTL_CAPS1_NS_KEY_TAG = 0x2
|
||||
KEYCTL_CHOWN = 0x4
|
||||
KEYCTL_CLEAR = 0x7
|
||||
KEYCTL_DESCRIBE = 0x6
|
||||
|
@ -1096,6 +1113,8 @@ const (
|
|||
KEYCTL_INVALIDATE = 0x15
|
||||
KEYCTL_JOIN_SESSION_KEYRING = 0x1
|
||||
KEYCTL_LINK = 0x8
|
||||
KEYCTL_MOVE = 0x1e
|
||||
KEYCTL_MOVE_EXCL = 0x1
|
||||
KEYCTL_NEGATE = 0xd
|
||||
KEYCTL_PKEY_DECRYPT = 0x1a
|
||||
KEYCTL_PKEY_ENCRYPT = 0x19
|
||||
|
@ -1339,6 +1358,7 @@ const (
|
|||
NETLINK_XFRM = 0x6
|
||||
NETNSA_MAX = 0x5
|
||||
NETNSA_NSID_NOT_ASSIGNED = -0x1
|
||||
NFDBITS = 0x40
|
||||
NFNETLINK_V0 = 0x0
|
||||
NFNLGRP_ACCT_QUOTA = 0x8
|
||||
NFNLGRP_CONNTRACK_DESTROY = 0x3
|
||||
|
@ -1405,6 +1425,10 @@ const (
|
|||
NLM_F_ROOT = 0x100
|
||||
NOFLSH = 0x80000000
|
||||
NSFS_MAGIC = 0x6e736673
|
||||
NS_GET_NSTYPE = 0x2000b703
|
||||
NS_GET_OWNER_UID = 0x2000b704
|
||||
NS_GET_PARENT = 0x2000b702
|
||||
NS_GET_USERNS = 0x2000b701
|
||||
OCFS2_SUPER_MAGIC = 0x7461636f
|
||||
OCRNL = 0x8
|
||||
OFDEL = 0x80
|
||||
|
@ -1671,6 +1695,8 @@ const (
|
|||
PTRACE_ATTACH = 0x10
|
||||
PTRACE_CONT = 0x7
|
||||
PTRACE_DETACH = 0x11
|
||||
PTRACE_EVENTMSG_SYSCALL_ENTRY = 0x1
|
||||
PTRACE_EVENTMSG_SYSCALL_EXIT = 0x2
|
||||
PTRACE_EVENT_CLONE = 0x3
|
||||
PTRACE_EVENT_EXEC = 0x4
|
||||
PTRACE_EVENT_EXIT = 0x6
|
||||
|
@ -1690,6 +1716,7 @@ const (
|
|||
PTRACE_GETVRREGS = 0x12
|
||||
PTRACE_GETVSRREGS = 0x1b
|
||||
PTRACE_GET_DEBUGREG = 0x19
|
||||
PTRACE_GET_SYSCALL_INFO = 0x420e
|
||||
PTRACE_INTERRUPT = 0x4207
|
||||
PTRACE_KILL = 0x8
|
||||
PTRACE_LISTEN = 0x4208
|
||||
|
@ -1729,6 +1756,10 @@ const (
|
|||
PTRACE_SINGLEBLOCK = 0x100
|
||||
PTRACE_SINGLESTEP = 0x9
|
||||
PTRACE_SYSCALL = 0x18
|
||||
PTRACE_SYSCALL_INFO_ENTRY = 0x1
|
||||
PTRACE_SYSCALL_INFO_EXIT = 0x2
|
||||
PTRACE_SYSCALL_INFO_NONE = 0x0
|
||||
PTRACE_SYSCALL_INFO_SECCOMP = 0x3
|
||||
PTRACE_SYSEMU = 0x1d
|
||||
PTRACE_SYSEMU_SINGLESTEP = 0x1e
|
||||
PTRACE_TRACEME = 0x0
|
||||
|
@ -1842,7 +1873,7 @@ const (
|
|||
RTAX_UNSPEC = 0x0
|
||||
RTAX_WINDOW = 0x3
|
||||
RTA_ALIGNTO = 0x4
|
||||
RTA_MAX = 0x1d
|
||||
RTA_MAX = 0x1e
|
||||
RTCF_DIRECTSRC = 0x4000000
|
||||
RTCF_DOREDIRECT = 0x1000000
|
||||
RTCF_LOG = 0x2000000
|
||||
|
@ -1915,6 +1946,7 @@ const (
|
|||
RTM_DELMDB = 0x55
|
||||
RTM_DELNEIGH = 0x1d
|
||||
RTM_DELNETCONF = 0x51
|
||||
RTM_DELNEXTHOP = 0x69
|
||||
RTM_DELNSID = 0x59
|
||||
RTM_DELQDISC = 0x25
|
||||
RTM_DELROUTE = 0x19
|
||||
|
@ -1939,6 +1971,7 @@ const (
|
|||
RTM_GETNEIGH = 0x1e
|
||||
RTM_GETNEIGHTBL = 0x42
|
||||
RTM_GETNETCONF = 0x52
|
||||
RTM_GETNEXTHOP = 0x6a
|
||||
RTM_GETNSID = 0x5a
|
||||
RTM_GETQDISC = 0x26
|
||||
RTM_GETROUTE = 0x1a
|
||||
|
@ -1946,7 +1979,7 @@ const (
|
|||
RTM_GETSTATS = 0x5e
|
||||
RTM_GETTCLASS = 0x2a
|
||||
RTM_GETTFILTER = 0x2e
|
||||
RTM_MAX = 0x67
|
||||
RTM_MAX = 0x6b
|
||||
RTM_NEWACTION = 0x30
|
||||
RTM_NEWADDR = 0x14
|
||||
RTM_NEWADDRLABEL = 0x48
|
||||
|
@ -1958,6 +1991,7 @@ const (
|
|||
RTM_NEWNEIGH = 0x1c
|
||||
RTM_NEWNEIGHTBL = 0x40
|
||||
RTM_NEWNETCONF = 0x50
|
||||
RTM_NEWNEXTHOP = 0x68
|
||||
RTM_NEWNSID = 0x58
|
||||
RTM_NEWPREFIX = 0x34
|
||||
RTM_NEWQDISC = 0x24
|
||||
|
@ -1966,8 +2000,8 @@ const (
|
|||
RTM_NEWSTATS = 0x5c
|
||||
RTM_NEWTCLASS = 0x28
|
||||
RTM_NEWTFILTER = 0x2c
|
||||
RTM_NR_FAMILIES = 0x16
|
||||
RTM_NR_MSGTYPES = 0x58
|
||||
RTM_NR_FAMILIES = 0x17
|
||||
RTM_NR_MSGTYPES = 0x5c
|
||||
RTM_SETDCB = 0x4f
|
||||
RTM_SETLINK = 0x13
|
||||
RTM_SETNEIGHTBL = 0x43
|
||||
|
@ -2052,6 +2086,8 @@ const (
|
|||
SIOCDRARP = 0x8960
|
||||
SIOCETHTOOL = 0x8946
|
||||
SIOCGARP = 0x8954
|
||||
SIOCGETLINKNAME = 0x89e0
|
||||
SIOCGETNODEID = 0x89e1
|
||||
SIOCGHWTSTAMP = 0x89b1
|
||||
SIOCGIFADDR = 0x8915
|
||||
SIOCGIFBR = 0x8940
|
||||
|
@ -2190,6 +2226,7 @@ const (
|
|||
SO_DEBUG = 0x1
|
||||
SO_DETACH_BPF = 0x1b
|
||||
SO_DETACH_FILTER = 0x1b
|
||||
SO_DETACH_REUSEPORT_BPF = 0x44
|
||||
SO_DOMAIN = 0x27
|
||||
SO_DONTROUTE = 0x5
|
||||
SO_EE_CODE_TXTIME_INVALID_PARAM = 0x1
|
||||
|
@ -2494,6 +2531,71 @@ const (
|
|||
TIOCSTOP = 0x2000746f
|
||||
TIOCSWINSZ = 0x80087467
|
||||
TIOCVHANGUP = 0x5437
|
||||
TIPC_ADDR_ID = 0x3
|
||||
TIPC_ADDR_MCAST = 0x1
|
||||
TIPC_ADDR_NAME = 0x2
|
||||
TIPC_ADDR_NAMESEQ = 0x1
|
||||
TIPC_CFG_SRV = 0x0
|
||||
TIPC_CLUSTER_BITS = 0xc
|
||||
TIPC_CLUSTER_MASK = 0xfff000
|
||||
TIPC_CLUSTER_OFFSET = 0xc
|
||||
TIPC_CLUSTER_SIZE = 0xfff
|
||||
TIPC_CONN_SHUTDOWN = 0x5
|
||||
TIPC_CONN_TIMEOUT = 0x82
|
||||
TIPC_CRITICAL_IMPORTANCE = 0x3
|
||||
TIPC_DESTNAME = 0x3
|
||||
TIPC_DEST_DROPPABLE = 0x81
|
||||
TIPC_ERRINFO = 0x1
|
||||
TIPC_ERR_NO_NAME = 0x1
|
||||
TIPC_ERR_NO_NODE = 0x3
|
||||
TIPC_ERR_NO_PORT = 0x2
|
||||
TIPC_ERR_OVERLOAD = 0x4
|
||||
TIPC_GROUP_JOIN = 0x87
|
||||
TIPC_GROUP_LEAVE = 0x88
|
||||
TIPC_GROUP_LOOPBACK = 0x1
|
||||
TIPC_GROUP_MEMBER_EVTS = 0x2
|
||||
TIPC_HIGH_IMPORTANCE = 0x2
|
||||
TIPC_IMPORTANCE = 0x7f
|
||||
TIPC_LINK_STATE = 0x2
|
||||
TIPC_LOW_IMPORTANCE = 0x0
|
||||
TIPC_MAX_BEARER_NAME = 0x20
|
||||
TIPC_MAX_IF_NAME = 0x10
|
||||
TIPC_MAX_LINK_NAME = 0x44
|
||||
TIPC_MAX_MEDIA_NAME = 0x10
|
||||
TIPC_MAX_USER_MSG_SIZE = 0x101d0
|
||||
TIPC_MCAST_BROADCAST = 0x85
|
||||
TIPC_MCAST_REPLICAST = 0x86
|
||||
TIPC_MEDIUM_IMPORTANCE = 0x1
|
||||
TIPC_NODEID_LEN = 0x10
|
||||
TIPC_NODE_BITS = 0xc
|
||||
TIPC_NODE_MASK = 0xfff
|
||||
TIPC_NODE_OFFSET = 0x0
|
||||
TIPC_NODE_RECVQ_DEPTH = 0x83
|
||||
TIPC_NODE_SIZE = 0xfff
|
||||
TIPC_NODE_STATE = 0x0
|
||||
TIPC_OK = 0x0
|
||||
TIPC_PUBLISHED = 0x1
|
||||
TIPC_RESERVED_TYPES = 0x40
|
||||
TIPC_RETDATA = 0x2
|
||||
TIPC_SERVICE_ADDR = 0x2
|
||||
TIPC_SERVICE_RANGE = 0x1
|
||||
TIPC_SOCKET_ADDR = 0x3
|
||||
TIPC_SOCK_RECVQ_DEPTH = 0x84
|
||||
TIPC_SOCK_RECVQ_USED = 0x89
|
||||
TIPC_SRC_DROPPABLE = 0x80
|
||||
TIPC_SUBSCR_TIMEOUT = 0x3
|
||||
TIPC_SUB_CANCEL = 0x4
|
||||
TIPC_SUB_PORTS = 0x1
|
||||
TIPC_SUB_SERVICE = 0x2
|
||||
TIPC_TOP_SRV = 0x1
|
||||
TIPC_WAIT_FOREVER = 0xffffffff
|
||||
TIPC_WITHDRAWN = 0x2
|
||||
TIPC_ZONE_BITS = 0x8
|
||||
TIPC_ZONE_CLUSTER_MASK = 0xfffff000
|
||||
TIPC_ZONE_MASK = 0xff000000
|
||||
TIPC_ZONE_OFFSET = 0x18
|
||||
TIPC_ZONE_SCOPE = 0x1
|
||||
TIPC_ZONE_SIZE = 0xff
|
||||
TMPFS_MAGIC = 0x1021994
|
||||
TOSTOP = 0x400000
|
||||
TPACKET_ALIGNMENT = 0x10
|
||||
|
@ -2507,7 +2609,7 @@ const (
|
|||
TP_STATUS_LOSING = 0x4
|
||||
TP_STATUS_SENDING = 0x2
|
||||
TP_STATUS_SEND_REQUEST = 0x1
|
||||
TP_STATUS_TS_RAW_HARDWARE = -0x80000000
|
||||
TP_STATUS_TS_RAW_HARDWARE = 0x80000000
|
||||
TP_STATUS_TS_SOFTWARE = 0x20000000
|
||||
TP_STATUS_TS_SYS_HARDWARE = 0x40000000
|
||||
TP_STATUS_USER = 0x1
|
||||
|
@ -2705,6 +2807,8 @@ const (
|
|||
XDP_FLAGS_SKB_MODE = 0x2
|
||||
XDP_FLAGS_UPDATE_IF_NOEXIST = 0x1
|
||||
XDP_MMAP_OFFSETS = 0x1
|
||||
XDP_OPTIONS = 0x8
|
||||
XDP_OPTIONS_ZEROCOPY = 0x1
|
||||
XDP_PACKET_HEADROOM = 0x100
|
||||
XDP_PGOFF_RX_RING = 0x0
|
||||
XDP_PGOFF_TX_RING = 0x80000000
|
||||
|
@ -2721,6 +2825,7 @@ const (
|
|||
XENFS_SUPER_MAGIC = 0xabba1974
|
||||
XFS_SUPER_MAGIC = 0x58465342
|
||||
XTABS = 0xc00
|
||||
Z3FOLD_MAGIC = 0x33
|
||||
ZSMALLOC_MAGIC = 0x58295829
|
||||
)
|
||||
|
||||
|
|
117
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
generated
vendored
117
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
generated
vendored
|
@ -253,6 +253,7 @@ const (
|
|||
BPF_F_STACK_BUILD_ID = 0x20
|
||||
BPF_F_STRICT_ALIGNMENT = 0x1
|
||||
BPF_F_SYSCTL_BASE_NAME = 0x1
|
||||
BPF_F_TEST_RND_HI32 = 0x4
|
||||
BPF_F_TUNINFO_IPV6 = 0x1
|
||||
BPF_F_USER_BUILD_ID = 0x800
|
||||
BPF_F_USER_STACK = 0x100
|
||||
|
@ -304,9 +305,10 @@ const (
|
|||
BPF_RET = 0x6
|
||||
BPF_RSH = 0x70
|
||||
BPF_SK_STORAGE_GET_F_CREATE = 0x1
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0x7
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0xf
|
||||
BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2
|
||||
BPF_SOCK_OPS_RTO_CB_FLAG = 0x1
|
||||
BPF_SOCK_OPS_RTT_CB_FLAG = 0x8
|
||||
BPF_SOCK_OPS_STATE_CB_FLAG = 0x4
|
||||
BPF_ST = 0x2
|
||||
BPF_STX = 0x3
|
||||
|
@ -460,6 +462,7 @@ const (
|
|||
DAXFS_MAGIC = 0x64646178
|
||||
DEBUGFS_MAGIC = 0x64626720
|
||||
DEVPTS_SUPER_MAGIC = 0x1cd1
|
||||
DMA_BUF_MAGIC = 0x444d4142
|
||||
DT_BLK = 0x6
|
||||
DT_CHR = 0x2
|
||||
DT_DIR = 0x4
|
||||
|
@ -560,6 +563,7 @@ const (
|
|||
ETH_P_IRDA = 0x17
|
||||
ETH_P_LAT = 0x6004
|
||||
ETH_P_LINK_CTL = 0x886c
|
||||
ETH_P_LLDP = 0x88cc
|
||||
ETH_P_LOCALTALK = 0x9
|
||||
ETH_P_LOOP = 0x60
|
||||
ETH_P_LOOPBACK = 0x9000
|
||||
|
@ -721,6 +725,7 @@ const (
|
|||
F_OFD_SETLKW = 0x26
|
||||
F_OK = 0x0
|
||||
F_RDLCK = 0x0
|
||||
F_SEAL_FUTURE_WRITE = 0x10
|
||||
F_SEAL_GROW = 0x4
|
||||
F_SEAL_SEAL = 0x1
|
||||
F_SEAL_SHRINK = 0x2
|
||||
|
@ -986,6 +991,7 @@ const (
|
|||
IPV6_RECVRTHDR = 0x38
|
||||
IPV6_RECVTCLASS = 0x42
|
||||
IPV6_ROUTER_ALERT = 0x16
|
||||
IPV6_ROUTER_ALERT_ISOLATE = 0x1e
|
||||
IPV6_RTHDR = 0x39
|
||||
IPV6_RTHDRDSTOPTS = 0x37
|
||||
IPV6_RTHDR_LOOSE = 0x0
|
||||
|
@ -1084,6 +1090,17 @@ const (
|
|||
KEXEC_PRESERVE_CONTEXT = 0x2
|
||||
KEXEC_SEGMENT_MAX = 0x10
|
||||
KEYCTL_ASSUME_AUTHORITY = 0x10
|
||||
KEYCTL_CAPABILITIES = 0x1f
|
||||
KEYCTL_CAPS0_BIG_KEY = 0x10
|
||||
KEYCTL_CAPS0_CAPABILITIES = 0x1
|
||||
KEYCTL_CAPS0_DIFFIE_HELLMAN = 0x4
|
||||
KEYCTL_CAPS0_INVALIDATE = 0x20
|
||||
KEYCTL_CAPS0_MOVE = 0x80
|
||||
KEYCTL_CAPS0_PERSISTENT_KEYRINGS = 0x2
|
||||
KEYCTL_CAPS0_PUBLIC_KEY = 0x8
|
||||
KEYCTL_CAPS0_RESTRICT_KEYRING = 0x40
|
||||
KEYCTL_CAPS1_NS_KEYRING_NAME = 0x1
|
||||
KEYCTL_CAPS1_NS_KEY_TAG = 0x2
|
||||
KEYCTL_CHOWN = 0x4
|
||||
KEYCTL_CLEAR = 0x7
|
||||
KEYCTL_DESCRIBE = 0x6
|
||||
|
@ -1096,6 +1113,8 @@ const (
|
|||
KEYCTL_INVALIDATE = 0x15
|
||||
KEYCTL_JOIN_SESSION_KEYRING = 0x1
|
||||
KEYCTL_LINK = 0x8
|
||||
KEYCTL_MOVE = 0x1e
|
||||
KEYCTL_MOVE_EXCL = 0x1
|
||||
KEYCTL_NEGATE = 0xd
|
||||
KEYCTL_PKEY_DECRYPT = 0x1a
|
||||
KEYCTL_PKEY_ENCRYPT = 0x19
|
||||
|
@ -1339,6 +1358,7 @@ const (
|
|||
NETLINK_XFRM = 0x6
|
||||
NETNSA_MAX = 0x5
|
||||
NETNSA_NSID_NOT_ASSIGNED = -0x1
|
||||
NFDBITS = 0x40
|
||||
NFNETLINK_V0 = 0x0
|
||||
NFNLGRP_ACCT_QUOTA = 0x8
|
||||
NFNLGRP_CONNTRACK_DESTROY = 0x3
|
||||
|
@ -1405,6 +1425,10 @@ const (
|
|||
NLM_F_ROOT = 0x100
|
||||
NOFLSH = 0x80000000
|
||||
NSFS_MAGIC = 0x6e736673
|
||||
NS_GET_NSTYPE = 0x2000b703
|
||||
NS_GET_OWNER_UID = 0x2000b704
|
||||
NS_GET_PARENT = 0x2000b702
|
||||
NS_GET_USERNS = 0x2000b701
|
||||
OCFS2_SUPER_MAGIC = 0x7461636f
|
||||
OCRNL = 0x8
|
||||
OFDEL = 0x80
|
||||
|
@ -1671,6 +1695,8 @@ const (
|
|||
PTRACE_ATTACH = 0x10
|
||||
PTRACE_CONT = 0x7
|
||||
PTRACE_DETACH = 0x11
|
||||
PTRACE_EVENTMSG_SYSCALL_ENTRY = 0x1
|
||||
PTRACE_EVENTMSG_SYSCALL_EXIT = 0x2
|
||||
PTRACE_EVENT_CLONE = 0x3
|
||||
PTRACE_EVENT_EXEC = 0x4
|
||||
PTRACE_EVENT_EXIT = 0x6
|
||||
|
@ -1690,6 +1716,7 @@ const (
|
|||
PTRACE_GETVRREGS = 0x12
|
||||
PTRACE_GETVSRREGS = 0x1b
|
||||
PTRACE_GET_DEBUGREG = 0x19
|
||||
PTRACE_GET_SYSCALL_INFO = 0x420e
|
||||
PTRACE_INTERRUPT = 0x4207
|
||||
PTRACE_KILL = 0x8
|
||||
PTRACE_LISTEN = 0x4208
|
||||
|
@ -1729,6 +1756,10 @@ const (
|
|||
PTRACE_SINGLEBLOCK = 0x100
|
||||
PTRACE_SINGLESTEP = 0x9
|
||||
PTRACE_SYSCALL = 0x18
|
||||
PTRACE_SYSCALL_INFO_ENTRY = 0x1
|
||||
PTRACE_SYSCALL_INFO_EXIT = 0x2
|
||||
PTRACE_SYSCALL_INFO_NONE = 0x0
|
||||
PTRACE_SYSCALL_INFO_SECCOMP = 0x3
|
||||
PTRACE_SYSEMU = 0x1d
|
||||
PTRACE_SYSEMU_SINGLESTEP = 0x1e
|
||||
PTRACE_TRACEME = 0x0
|
||||
|
@ -1842,7 +1873,7 @@ const (
|
|||
RTAX_UNSPEC = 0x0
|
||||
RTAX_WINDOW = 0x3
|
||||
RTA_ALIGNTO = 0x4
|
||||
RTA_MAX = 0x1d
|
||||
RTA_MAX = 0x1e
|
||||
RTCF_DIRECTSRC = 0x4000000
|
||||
RTCF_DOREDIRECT = 0x1000000
|
||||
RTCF_LOG = 0x2000000
|
||||
|
@ -1915,6 +1946,7 @@ const (
|
|||
RTM_DELMDB = 0x55
|
||||
RTM_DELNEIGH = 0x1d
|
||||
RTM_DELNETCONF = 0x51
|
||||
RTM_DELNEXTHOP = 0x69
|
||||
RTM_DELNSID = 0x59
|
||||
RTM_DELQDISC = 0x25
|
||||
RTM_DELROUTE = 0x19
|
||||
|
@ -1939,6 +1971,7 @@ const (
|
|||
RTM_GETNEIGH = 0x1e
|
||||
RTM_GETNEIGHTBL = 0x42
|
||||
RTM_GETNETCONF = 0x52
|
||||
RTM_GETNEXTHOP = 0x6a
|
||||
RTM_GETNSID = 0x5a
|
||||
RTM_GETQDISC = 0x26
|
||||
RTM_GETROUTE = 0x1a
|
||||
|
@ -1946,7 +1979,7 @@ const (
|
|||
RTM_GETSTATS = 0x5e
|
||||
RTM_GETTCLASS = 0x2a
|
||||
RTM_GETTFILTER = 0x2e
|
||||
RTM_MAX = 0x67
|
||||
RTM_MAX = 0x6b
|
||||
RTM_NEWACTION = 0x30
|
||||
RTM_NEWADDR = 0x14
|
||||
RTM_NEWADDRLABEL = 0x48
|
||||
|
@ -1958,6 +1991,7 @@ const (
|
|||
RTM_NEWNEIGH = 0x1c
|
||||
RTM_NEWNEIGHTBL = 0x40
|
||||
RTM_NEWNETCONF = 0x50
|
||||
RTM_NEWNEXTHOP = 0x68
|
||||
RTM_NEWNSID = 0x58
|
||||
RTM_NEWPREFIX = 0x34
|
||||
RTM_NEWQDISC = 0x24
|
||||
|
@ -1966,8 +2000,8 @@ const (
|
|||
RTM_NEWSTATS = 0x5c
|
||||
RTM_NEWTCLASS = 0x28
|
||||
RTM_NEWTFILTER = 0x2c
|
||||
RTM_NR_FAMILIES = 0x16
|
||||
RTM_NR_MSGTYPES = 0x58
|
||||
RTM_NR_FAMILIES = 0x17
|
||||
RTM_NR_MSGTYPES = 0x5c
|
||||
RTM_SETDCB = 0x4f
|
||||
RTM_SETLINK = 0x13
|
||||
RTM_SETNEIGHTBL = 0x43
|
||||
|
@ -2052,6 +2086,8 @@ const (
|
|||
SIOCDRARP = 0x8960
|
||||
SIOCETHTOOL = 0x8946
|
||||
SIOCGARP = 0x8954
|
||||
SIOCGETLINKNAME = 0x89e0
|
||||
SIOCGETNODEID = 0x89e1
|
||||
SIOCGHWTSTAMP = 0x89b1
|
||||
SIOCGIFADDR = 0x8915
|
||||
SIOCGIFBR = 0x8940
|
||||
|
@ -2190,6 +2226,7 @@ const (
|
|||
SO_DEBUG = 0x1
|
||||
SO_DETACH_BPF = 0x1b
|
||||
SO_DETACH_FILTER = 0x1b
|
||||
SO_DETACH_REUSEPORT_BPF = 0x44
|
||||
SO_DOMAIN = 0x27
|
||||
SO_DONTROUTE = 0x5
|
||||
SO_EE_CODE_TXTIME_INVALID_PARAM = 0x1
|
||||
|
@ -2494,6 +2531,71 @@ const (
|
|||
TIOCSTOP = 0x2000746f
|
||||
TIOCSWINSZ = 0x80087467
|
||||
TIOCVHANGUP = 0x5437
|
||||
TIPC_ADDR_ID = 0x3
|
||||
TIPC_ADDR_MCAST = 0x1
|
||||
TIPC_ADDR_NAME = 0x2
|
||||
TIPC_ADDR_NAMESEQ = 0x1
|
||||
TIPC_CFG_SRV = 0x0
|
||||
TIPC_CLUSTER_BITS = 0xc
|
||||
TIPC_CLUSTER_MASK = 0xfff000
|
||||
TIPC_CLUSTER_OFFSET = 0xc
|
||||
TIPC_CLUSTER_SIZE = 0xfff
|
||||
TIPC_CONN_SHUTDOWN = 0x5
|
||||
TIPC_CONN_TIMEOUT = 0x82
|
||||
TIPC_CRITICAL_IMPORTANCE = 0x3
|
||||
TIPC_DESTNAME = 0x3
|
||||
TIPC_DEST_DROPPABLE = 0x81
|
||||
TIPC_ERRINFO = 0x1
|
||||
TIPC_ERR_NO_NAME = 0x1
|
||||
TIPC_ERR_NO_NODE = 0x3
|
||||
TIPC_ERR_NO_PORT = 0x2
|
||||
TIPC_ERR_OVERLOAD = 0x4
|
||||
TIPC_GROUP_JOIN = 0x87
|
||||
TIPC_GROUP_LEAVE = 0x88
|
||||
TIPC_GROUP_LOOPBACK = 0x1
|
||||
TIPC_GROUP_MEMBER_EVTS = 0x2
|
||||
TIPC_HIGH_IMPORTANCE = 0x2
|
||||
TIPC_IMPORTANCE = 0x7f
|
||||
TIPC_LINK_STATE = 0x2
|
||||
TIPC_LOW_IMPORTANCE = 0x0
|
||||
TIPC_MAX_BEARER_NAME = 0x20
|
||||
TIPC_MAX_IF_NAME = 0x10
|
||||
TIPC_MAX_LINK_NAME = 0x44
|
||||
TIPC_MAX_MEDIA_NAME = 0x10
|
||||
TIPC_MAX_USER_MSG_SIZE = 0x101d0
|
||||
TIPC_MCAST_BROADCAST = 0x85
|
||||
TIPC_MCAST_REPLICAST = 0x86
|
||||
TIPC_MEDIUM_IMPORTANCE = 0x1
|
||||
TIPC_NODEID_LEN = 0x10
|
||||
TIPC_NODE_BITS = 0xc
|
||||
TIPC_NODE_MASK = 0xfff
|
||||
TIPC_NODE_OFFSET = 0x0
|
||||
TIPC_NODE_RECVQ_DEPTH = 0x83
|
||||
TIPC_NODE_SIZE = 0xfff
|
||||
TIPC_NODE_STATE = 0x0
|
||||
TIPC_OK = 0x0
|
||||
TIPC_PUBLISHED = 0x1
|
||||
TIPC_RESERVED_TYPES = 0x40
|
||||
TIPC_RETDATA = 0x2
|
||||
TIPC_SERVICE_ADDR = 0x2
|
||||
TIPC_SERVICE_RANGE = 0x1
|
||||
TIPC_SOCKET_ADDR = 0x3
|
||||
TIPC_SOCK_RECVQ_DEPTH = 0x84
|
||||
TIPC_SOCK_RECVQ_USED = 0x89
|
||||
TIPC_SRC_DROPPABLE = 0x80
|
||||
TIPC_SUBSCR_TIMEOUT = 0x3
|
||||
TIPC_SUB_CANCEL = 0x4
|
||||
TIPC_SUB_PORTS = 0x1
|
||||
TIPC_SUB_SERVICE = 0x2
|
||||
TIPC_TOP_SRV = 0x1
|
||||
TIPC_WAIT_FOREVER = 0xffffffff
|
||||
TIPC_WITHDRAWN = 0x2
|
||||
TIPC_ZONE_BITS = 0x8
|
||||
TIPC_ZONE_CLUSTER_MASK = 0xfffff000
|
||||
TIPC_ZONE_MASK = 0xff000000
|
||||
TIPC_ZONE_OFFSET = 0x18
|
||||
TIPC_ZONE_SCOPE = 0x1
|
||||
TIPC_ZONE_SIZE = 0xff
|
||||
TMPFS_MAGIC = 0x1021994
|
||||
TOSTOP = 0x400000
|
||||
TPACKET_ALIGNMENT = 0x10
|
||||
|
@ -2507,7 +2609,7 @@ const (
|
|||
TP_STATUS_LOSING = 0x4
|
||||
TP_STATUS_SENDING = 0x2
|
||||
TP_STATUS_SEND_REQUEST = 0x1
|
||||
TP_STATUS_TS_RAW_HARDWARE = -0x80000000
|
||||
TP_STATUS_TS_RAW_HARDWARE = 0x80000000
|
||||
TP_STATUS_TS_SOFTWARE = 0x20000000
|
||||
TP_STATUS_TS_SYS_HARDWARE = 0x40000000
|
||||
TP_STATUS_USER = 0x1
|
||||
|
@ -2705,6 +2807,8 @@ const (
|
|||
XDP_FLAGS_SKB_MODE = 0x2
|
||||
XDP_FLAGS_UPDATE_IF_NOEXIST = 0x1
|
||||
XDP_MMAP_OFFSETS = 0x1
|
||||
XDP_OPTIONS = 0x8
|
||||
XDP_OPTIONS_ZEROCOPY = 0x1
|
||||
XDP_PACKET_HEADROOM = 0x100
|
||||
XDP_PGOFF_RX_RING = 0x0
|
||||
XDP_PGOFF_TX_RING = 0x80000000
|
||||
|
@ -2721,6 +2825,7 @@ const (
|
|||
XENFS_SUPER_MAGIC = 0xabba1974
|
||||
XFS_SUPER_MAGIC = 0x58465342
|
||||
XTABS = 0xc00
|
||||
Z3FOLD_MAGIC = 0x33
|
||||
ZSMALLOC_MAGIC = 0x58295829
|
||||
)
|
||||
|
||||
|
|
117
vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
generated
vendored
117
vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
generated
vendored
|
@ -253,6 +253,7 @@ const (
|
|||
BPF_F_STACK_BUILD_ID = 0x20
|
||||
BPF_F_STRICT_ALIGNMENT = 0x1
|
||||
BPF_F_SYSCTL_BASE_NAME = 0x1
|
||||
BPF_F_TEST_RND_HI32 = 0x4
|
||||
BPF_F_TUNINFO_IPV6 = 0x1
|
||||
BPF_F_USER_BUILD_ID = 0x800
|
||||
BPF_F_USER_STACK = 0x100
|
||||
|
@ -304,9 +305,10 @@ const (
|
|||
BPF_RET = 0x6
|
||||
BPF_RSH = 0x70
|
||||
BPF_SK_STORAGE_GET_F_CREATE = 0x1
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0x7
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0xf
|
||||
BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2
|
||||
BPF_SOCK_OPS_RTO_CB_FLAG = 0x1
|
||||
BPF_SOCK_OPS_RTT_CB_FLAG = 0x8
|
||||
BPF_SOCK_OPS_STATE_CB_FLAG = 0x4
|
||||
BPF_ST = 0x2
|
||||
BPF_STX = 0x3
|
||||
|
@ -460,6 +462,7 @@ const (
|
|||
DAXFS_MAGIC = 0x64646178
|
||||
DEBUGFS_MAGIC = 0x64626720
|
||||
DEVPTS_SUPER_MAGIC = 0x1cd1
|
||||
DMA_BUF_MAGIC = 0x444d4142
|
||||
DT_BLK = 0x6
|
||||
DT_CHR = 0x2
|
||||
DT_DIR = 0x4
|
||||
|
@ -560,6 +563,7 @@ const (
|
|||
ETH_P_IRDA = 0x17
|
||||
ETH_P_LAT = 0x6004
|
||||
ETH_P_LINK_CTL = 0x886c
|
||||
ETH_P_LLDP = 0x88cc
|
||||
ETH_P_LOCALTALK = 0x9
|
||||
ETH_P_LOOP = 0x60
|
||||
ETH_P_LOOPBACK = 0x9000
|
||||
|
@ -721,6 +725,7 @@ const (
|
|||
F_OFD_SETLKW = 0x26
|
||||
F_OK = 0x0
|
||||
F_RDLCK = 0x0
|
||||
F_SEAL_FUTURE_WRITE = 0x10
|
||||
F_SEAL_GROW = 0x4
|
||||
F_SEAL_SEAL = 0x1
|
||||
F_SEAL_SHRINK = 0x2
|
||||
|
@ -986,6 +991,7 @@ const (
|
|||
IPV6_RECVRTHDR = 0x38
|
||||
IPV6_RECVTCLASS = 0x42
|
||||
IPV6_ROUTER_ALERT = 0x16
|
||||
IPV6_ROUTER_ALERT_ISOLATE = 0x1e
|
||||
IPV6_RTHDR = 0x39
|
||||
IPV6_RTHDRDSTOPTS = 0x37
|
||||
IPV6_RTHDR_LOOSE = 0x0
|
||||
|
@ -1084,6 +1090,17 @@ const (
|
|||
KEXEC_PRESERVE_CONTEXT = 0x2
|
||||
KEXEC_SEGMENT_MAX = 0x10
|
||||
KEYCTL_ASSUME_AUTHORITY = 0x10
|
||||
KEYCTL_CAPABILITIES = 0x1f
|
||||
KEYCTL_CAPS0_BIG_KEY = 0x10
|
||||
KEYCTL_CAPS0_CAPABILITIES = 0x1
|
||||
KEYCTL_CAPS0_DIFFIE_HELLMAN = 0x4
|
||||
KEYCTL_CAPS0_INVALIDATE = 0x20
|
||||
KEYCTL_CAPS0_MOVE = 0x80
|
||||
KEYCTL_CAPS0_PERSISTENT_KEYRINGS = 0x2
|
||||
KEYCTL_CAPS0_PUBLIC_KEY = 0x8
|
||||
KEYCTL_CAPS0_RESTRICT_KEYRING = 0x40
|
||||
KEYCTL_CAPS1_NS_KEYRING_NAME = 0x1
|
||||
KEYCTL_CAPS1_NS_KEY_TAG = 0x2
|
||||
KEYCTL_CHOWN = 0x4
|
||||
KEYCTL_CLEAR = 0x7
|
||||
KEYCTL_DESCRIBE = 0x6
|
||||
|
@ -1096,6 +1113,8 @@ const (
|
|||
KEYCTL_INVALIDATE = 0x15
|
||||
KEYCTL_JOIN_SESSION_KEYRING = 0x1
|
||||
KEYCTL_LINK = 0x8
|
||||
KEYCTL_MOVE = 0x1e
|
||||
KEYCTL_MOVE_EXCL = 0x1
|
||||
KEYCTL_NEGATE = 0xd
|
||||
KEYCTL_PKEY_DECRYPT = 0x1a
|
||||
KEYCTL_PKEY_ENCRYPT = 0x19
|
||||
|
@ -1340,6 +1359,7 @@ const (
|
|||
NETLINK_XFRM = 0x6
|
||||
NETNSA_MAX = 0x5
|
||||
NETNSA_NSID_NOT_ASSIGNED = -0x1
|
||||
NFDBITS = 0x40
|
||||
NFNETLINK_V0 = 0x0
|
||||
NFNLGRP_ACCT_QUOTA = 0x8
|
||||
NFNLGRP_CONNTRACK_DESTROY = 0x3
|
||||
|
@ -1404,6 +1424,10 @@ const (
|
|||
NLM_F_ROOT = 0x100
|
||||
NOFLSH = 0x80
|
||||
NSFS_MAGIC = 0x6e736673
|
||||
NS_GET_NSTYPE = 0xb703
|
||||
NS_GET_OWNER_UID = 0xb704
|
||||
NS_GET_PARENT = 0xb702
|
||||
NS_GET_USERNS = 0xb701
|
||||
OCFS2_SUPER_MAGIC = 0x7461636f
|
||||
OCRNL = 0x8
|
||||
OFDEL = 0x80
|
||||
|
@ -1669,6 +1693,8 @@ const (
|
|||
PTRACE_ATTACH = 0x10
|
||||
PTRACE_CONT = 0x7
|
||||
PTRACE_DETACH = 0x11
|
||||
PTRACE_EVENTMSG_SYSCALL_ENTRY = 0x1
|
||||
PTRACE_EVENTMSG_SYSCALL_EXIT = 0x2
|
||||
PTRACE_EVENT_CLONE = 0x3
|
||||
PTRACE_EVENT_EXEC = 0x4
|
||||
PTRACE_EVENT_EXIT = 0x6
|
||||
|
@ -1682,6 +1708,7 @@ const (
|
|||
PTRACE_GETREGSET = 0x4204
|
||||
PTRACE_GETSIGINFO = 0x4202
|
||||
PTRACE_GETSIGMASK = 0x420a
|
||||
PTRACE_GET_SYSCALL_INFO = 0x420e
|
||||
PTRACE_INTERRUPT = 0x4207
|
||||
PTRACE_KILL = 0x8
|
||||
PTRACE_LISTEN = 0x4208
|
||||
|
@ -1714,6 +1741,10 @@ const (
|
|||
PTRACE_SETSIGMASK = 0x420b
|
||||
PTRACE_SINGLESTEP = 0x9
|
||||
PTRACE_SYSCALL = 0x18
|
||||
PTRACE_SYSCALL_INFO_ENTRY = 0x1
|
||||
PTRACE_SYSCALL_INFO_EXIT = 0x2
|
||||
PTRACE_SYSCALL_INFO_NONE = 0x0
|
||||
PTRACE_SYSCALL_INFO_SECCOMP = 0x3
|
||||
PTRACE_TRACEME = 0x0
|
||||
QNX4_SUPER_MAGIC = 0x2f
|
||||
QNX6_SUPER_MAGIC = 0x68191122
|
||||
|
@ -1772,7 +1803,7 @@ const (
|
|||
RTAX_UNSPEC = 0x0
|
||||
RTAX_WINDOW = 0x3
|
||||
RTA_ALIGNTO = 0x4
|
||||
RTA_MAX = 0x1d
|
||||
RTA_MAX = 0x1e
|
||||
RTCF_DIRECTSRC = 0x4000000
|
||||
RTCF_DOREDIRECT = 0x1000000
|
||||
RTCF_LOG = 0x2000000
|
||||
|
@ -1845,6 +1876,7 @@ const (
|
|||
RTM_DELMDB = 0x55
|
||||
RTM_DELNEIGH = 0x1d
|
||||
RTM_DELNETCONF = 0x51
|
||||
RTM_DELNEXTHOP = 0x69
|
||||
RTM_DELNSID = 0x59
|
||||
RTM_DELQDISC = 0x25
|
||||
RTM_DELROUTE = 0x19
|
||||
|
@ -1869,6 +1901,7 @@ const (
|
|||
RTM_GETNEIGH = 0x1e
|
||||
RTM_GETNEIGHTBL = 0x42
|
||||
RTM_GETNETCONF = 0x52
|
||||
RTM_GETNEXTHOP = 0x6a
|
||||
RTM_GETNSID = 0x5a
|
||||
RTM_GETQDISC = 0x26
|
||||
RTM_GETROUTE = 0x1a
|
||||
|
@ -1876,7 +1909,7 @@ const (
|
|||
RTM_GETSTATS = 0x5e
|
||||
RTM_GETTCLASS = 0x2a
|
||||
RTM_GETTFILTER = 0x2e
|
||||
RTM_MAX = 0x67
|
||||
RTM_MAX = 0x6b
|
||||
RTM_NEWACTION = 0x30
|
||||
RTM_NEWADDR = 0x14
|
||||
RTM_NEWADDRLABEL = 0x48
|
||||
|
@ -1888,6 +1921,7 @@ const (
|
|||
RTM_NEWNEIGH = 0x1c
|
||||
RTM_NEWNEIGHTBL = 0x40
|
||||
RTM_NEWNETCONF = 0x50
|
||||
RTM_NEWNEXTHOP = 0x68
|
||||
RTM_NEWNSID = 0x58
|
||||
RTM_NEWPREFIX = 0x34
|
||||
RTM_NEWQDISC = 0x24
|
||||
|
@ -1896,8 +1930,8 @@ const (
|
|||
RTM_NEWSTATS = 0x5c
|
||||
RTM_NEWTCLASS = 0x28
|
||||
RTM_NEWTFILTER = 0x2c
|
||||
RTM_NR_FAMILIES = 0x16
|
||||
RTM_NR_MSGTYPES = 0x58
|
||||
RTM_NR_FAMILIES = 0x17
|
||||
RTM_NR_MSGTYPES = 0x5c
|
||||
RTM_SETDCB = 0x4f
|
||||
RTM_SETLINK = 0x13
|
||||
RTM_SETNEIGHTBL = 0x43
|
||||
|
@ -1982,6 +2016,8 @@ const (
|
|||
SIOCDRARP = 0x8960
|
||||
SIOCETHTOOL = 0x8946
|
||||
SIOCGARP = 0x8954
|
||||
SIOCGETLINKNAME = 0x89e0
|
||||
SIOCGETNODEID = 0x89e1
|
||||
SIOCGHWTSTAMP = 0x89b1
|
||||
SIOCGIFADDR = 0x8915
|
||||
SIOCGIFBR = 0x8940
|
||||
|
@ -2120,6 +2156,7 @@ const (
|
|||
SO_DEBUG = 0x1
|
||||
SO_DETACH_BPF = 0x1b
|
||||
SO_DETACH_FILTER = 0x1b
|
||||
SO_DETACH_REUSEPORT_BPF = 0x44
|
||||
SO_DOMAIN = 0x27
|
||||
SO_DONTROUTE = 0x5
|
||||
SO_EE_CODE_TXTIME_INVALID_PARAM = 0x1
|
||||
|
@ -2420,6 +2457,71 @@ const (
|
|||
TIOCSTI = 0x5412
|
||||
TIOCSWINSZ = 0x5414
|
||||
TIOCVHANGUP = 0x5437
|
||||
TIPC_ADDR_ID = 0x3
|
||||
TIPC_ADDR_MCAST = 0x1
|
||||
TIPC_ADDR_NAME = 0x2
|
||||
TIPC_ADDR_NAMESEQ = 0x1
|
||||
TIPC_CFG_SRV = 0x0
|
||||
TIPC_CLUSTER_BITS = 0xc
|
||||
TIPC_CLUSTER_MASK = 0xfff000
|
||||
TIPC_CLUSTER_OFFSET = 0xc
|
||||
TIPC_CLUSTER_SIZE = 0xfff
|
||||
TIPC_CONN_SHUTDOWN = 0x5
|
||||
TIPC_CONN_TIMEOUT = 0x82
|
||||
TIPC_CRITICAL_IMPORTANCE = 0x3
|
||||
TIPC_DESTNAME = 0x3
|
||||
TIPC_DEST_DROPPABLE = 0x81
|
||||
TIPC_ERRINFO = 0x1
|
||||
TIPC_ERR_NO_NAME = 0x1
|
||||
TIPC_ERR_NO_NODE = 0x3
|
||||
TIPC_ERR_NO_PORT = 0x2
|
||||
TIPC_ERR_OVERLOAD = 0x4
|
||||
TIPC_GROUP_JOIN = 0x87
|
||||
TIPC_GROUP_LEAVE = 0x88
|
||||
TIPC_GROUP_LOOPBACK = 0x1
|
||||
TIPC_GROUP_MEMBER_EVTS = 0x2
|
||||
TIPC_HIGH_IMPORTANCE = 0x2
|
||||
TIPC_IMPORTANCE = 0x7f
|
||||
TIPC_LINK_STATE = 0x2
|
||||
TIPC_LOW_IMPORTANCE = 0x0
|
||||
TIPC_MAX_BEARER_NAME = 0x20
|
||||
TIPC_MAX_IF_NAME = 0x10
|
||||
TIPC_MAX_LINK_NAME = 0x44
|
||||
TIPC_MAX_MEDIA_NAME = 0x10
|
||||
TIPC_MAX_USER_MSG_SIZE = 0x101d0
|
||||
TIPC_MCAST_BROADCAST = 0x85
|
||||
TIPC_MCAST_REPLICAST = 0x86
|
||||
TIPC_MEDIUM_IMPORTANCE = 0x1
|
||||
TIPC_NODEID_LEN = 0x10
|
||||
TIPC_NODE_BITS = 0xc
|
||||
TIPC_NODE_MASK = 0xfff
|
||||
TIPC_NODE_OFFSET = 0x0
|
||||
TIPC_NODE_RECVQ_DEPTH = 0x83
|
||||
TIPC_NODE_SIZE = 0xfff
|
||||
TIPC_NODE_STATE = 0x0
|
||||
TIPC_OK = 0x0
|
||||
TIPC_PUBLISHED = 0x1
|
||||
TIPC_RESERVED_TYPES = 0x40
|
||||
TIPC_RETDATA = 0x2
|
||||
TIPC_SERVICE_ADDR = 0x2
|
||||
TIPC_SERVICE_RANGE = 0x1
|
||||
TIPC_SOCKET_ADDR = 0x3
|
||||
TIPC_SOCK_RECVQ_DEPTH = 0x84
|
||||
TIPC_SOCK_RECVQ_USED = 0x89
|
||||
TIPC_SRC_DROPPABLE = 0x80
|
||||
TIPC_SUBSCR_TIMEOUT = 0x3
|
||||
TIPC_SUB_CANCEL = 0x4
|
||||
TIPC_SUB_PORTS = 0x1
|
||||
TIPC_SUB_SERVICE = 0x2
|
||||
TIPC_TOP_SRV = 0x1
|
||||
TIPC_WAIT_FOREVER = 0xffffffff
|
||||
TIPC_WITHDRAWN = 0x2
|
||||
TIPC_ZONE_BITS = 0x8
|
||||
TIPC_ZONE_CLUSTER_MASK = 0xfffff000
|
||||
TIPC_ZONE_MASK = 0xff000000
|
||||
TIPC_ZONE_OFFSET = 0x18
|
||||
TIPC_ZONE_SCOPE = 0x1
|
||||
TIPC_ZONE_SIZE = 0xff
|
||||
TMPFS_MAGIC = 0x1021994
|
||||
TOSTOP = 0x100
|
||||
TPACKET_ALIGNMENT = 0x10
|
||||
|
@ -2433,7 +2535,7 @@ const (
|
|||
TP_STATUS_LOSING = 0x4
|
||||
TP_STATUS_SENDING = 0x2
|
||||
TP_STATUS_SEND_REQUEST = 0x1
|
||||
TP_STATUS_TS_RAW_HARDWARE = -0x80000000
|
||||
TP_STATUS_TS_RAW_HARDWARE = 0x80000000
|
||||
TP_STATUS_TS_SOFTWARE = 0x20000000
|
||||
TP_STATUS_TS_SYS_HARDWARE = 0x40000000
|
||||
TP_STATUS_USER = 0x1
|
||||
|
@ -2631,6 +2733,8 @@ const (
|
|||
XDP_FLAGS_SKB_MODE = 0x2
|
||||
XDP_FLAGS_UPDATE_IF_NOEXIST = 0x1
|
||||
XDP_MMAP_OFFSETS = 0x1
|
||||
XDP_OPTIONS = 0x8
|
||||
XDP_OPTIONS_ZEROCOPY = 0x1
|
||||
XDP_PACKET_HEADROOM = 0x100
|
||||
XDP_PGOFF_RX_RING = 0x0
|
||||
XDP_PGOFF_TX_RING = 0x80000000
|
||||
|
@ -2647,6 +2751,7 @@ const (
|
|||
XENFS_SUPER_MAGIC = 0xabba1974
|
||||
XFS_SUPER_MAGIC = 0x58465342
|
||||
XTABS = 0x1800
|
||||
Z3FOLD_MAGIC = 0x33
|
||||
ZSMALLOC_MAGIC = 0x58295829
|
||||
)
|
||||
|
||||
|
|
117
vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
generated
vendored
117
vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
generated
vendored
|
@ -253,6 +253,7 @@ const (
|
|||
BPF_F_STACK_BUILD_ID = 0x20
|
||||
BPF_F_STRICT_ALIGNMENT = 0x1
|
||||
BPF_F_SYSCTL_BASE_NAME = 0x1
|
||||
BPF_F_TEST_RND_HI32 = 0x4
|
||||
BPF_F_TUNINFO_IPV6 = 0x1
|
||||
BPF_F_USER_BUILD_ID = 0x800
|
||||
BPF_F_USER_STACK = 0x100
|
||||
|
@ -304,9 +305,10 @@ const (
|
|||
BPF_RET = 0x6
|
||||
BPF_RSH = 0x70
|
||||
BPF_SK_STORAGE_GET_F_CREATE = 0x1
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0x7
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0xf
|
||||
BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2
|
||||
BPF_SOCK_OPS_RTO_CB_FLAG = 0x1
|
||||
BPF_SOCK_OPS_RTT_CB_FLAG = 0x8
|
||||
BPF_SOCK_OPS_STATE_CB_FLAG = 0x4
|
||||
BPF_ST = 0x2
|
||||
BPF_STX = 0x3
|
||||
|
@ -460,6 +462,7 @@ const (
|
|||
DAXFS_MAGIC = 0x64646178
|
||||
DEBUGFS_MAGIC = 0x64626720
|
||||
DEVPTS_SUPER_MAGIC = 0x1cd1
|
||||
DMA_BUF_MAGIC = 0x444d4142
|
||||
DT_BLK = 0x6
|
||||
DT_CHR = 0x2
|
||||
DT_DIR = 0x4
|
||||
|
@ -560,6 +563,7 @@ const (
|
|||
ETH_P_IRDA = 0x17
|
||||
ETH_P_LAT = 0x6004
|
||||
ETH_P_LINK_CTL = 0x886c
|
||||
ETH_P_LLDP = 0x88cc
|
||||
ETH_P_LOCALTALK = 0x9
|
||||
ETH_P_LOOP = 0x60
|
||||
ETH_P_LOOPBACK = 0x9000
|
||||
|
@ -721,6 +725,7 @@ const (
|
|||
F_OFD_SETLKW = 0x26
|
||||
F_OK = 0x0
|
||||
F_RDLCK = 0x0
|
||||
F_SEAL_FUTURE_WRITE = 0x10
|
||||
F_SEAL_GROW = 0x4
|
||||
F_SEAL_SEAL = 0x1
|
||||
F_SEAL_SHRINK = 0x2
|
||||
|
@ -986,6 +991,7 @@ const (
|
|||
IPV6_RECVRTHDR = 0x38
|
||||
IPV6_RECVTCLASS = 0x42
|
||||
IPV6_ROUTER_ALERT = 0x16
|
||||
IPV6_ROUTER_ALERT_ISOLATE = 0x1e
|
||||
IPV6_RTHDR = 0x39
|
||||
IPV6_RTHDRDSTOPTS = 0x37
|
||||
IPV6_RTHDR_LOOSE = 0x0
|
||||
|
@ -1084,6 +1090,17 @@ const (
|
|||
KEXEC_PRESERVE_CONTEXT = 0x2
|
||||
KEXEC_SEGMENT_MAX = 0x10
|
||||
KEYCTL_ASSUME_AUTHORITY = 0x10
|
||||
KEYCTL_CAPABILITIES = 0x1f
|
||||
KEYCTL_CAPS0_BIG_KEY = 0x10
|
||||
KEYCTL_CAPS0_CAPABILITIES = 0x1
|
||||
KEYCTL_CAPS0_DIFFIE_HELLMAN = 0x4
|
||||
KEYCTL_CAPS0_INVALIDATE = 0x20
|
||||
KEYCTL_CAPS0_MOVE = 0x80
|
||||
KEYCTL_CAPS0_PERSISTENT_KEYRINGS = 0x2
|
||||
KEYCTL_CAPS0_PUBLIC_KEY = 0x8
|
||||
KEYCTL_CAPS0_RESTRICT_KEYRING = 0x40
|
||||
KEYCTL_CAPS1_NS_KEYRING_NAME = 0x1
|
||||
KEYCTL_CAPS1_NS_KEY_TAG = 0x2
|
||||
KEYCTL_CHOWN = 0x4
|
||||
KEYCTL_CLEAR = 0x7
|
||||
KEYCTL_DESCRIBE = 0x6
|
||||
|
@ -1096,6 +1113,8 @@ const (
|
|||
KEYCTL_INVALIDATE = 0x15
|
||||
KEYCTL_JOIN_SESSION_KEYRING = 0x1
|
||||
KEYCTL_LINK = 0x8
|
||||
KEYCTL_MOVE = 0x1e
|
||||
KEYCTL_MOVE_EXCL = 0x1
|
||||
KEYCTL_NEGATE = 0xd
|
||||
KEYCTL_PKEY_DECRYPT = 0x1a
|
||||
KEYCTL_PKEY_ENCRYPT = 0x19
|
||||
|
@ -1340,6 +1359,7 @@ const (
|
|||
NETLINK_XFRM = 0x6
|
||||
NETNSA_MAX = 0x5
|
||||
NETNSA_NSID_NOT_ASSIGNED = -0x1
|
||||
NFDBITS = 0x40
|
||||
NFNETLINK_V0 = 0x0
|
||||
NFNLGRP_ACCT_QUOTA = 0x8
|
||||
NFNLGRP_CONNTRACK_DESTROY = 0x3
|
||||
|
@ -1404,6 +1424,10 @@ const (
|
|||
NLM_F_ROOT = 0x100
|
||||
NOFLSH = 0x80
|
||||
NSFS_MAGIC = 0x6e736673
|
||||
NS_GET_NSTYPE = 0xb703
|
||||
NS_GET_OWNER_UID = 0xb704
|
||||
NS_GET_PARENT = 0xb702
|
||||
NS_GET_USERNS = 0xb701
|
||||
OCFS2_SUPER_MAGIC = 0x7461636f
|
||||
OCRNL = 0x8
|
||||
OFDEL = 0x80
|
||||
|
@ -1671,6 +1695,8 @@ const (
|
|||
PTRACE_DETACH = 0x11
|
||||
PTRACE_DISABLE_TE = 0x5010
|
||||
PTRACE_ENABLE_TE = 0x5009
|
||||
PTRACE_EVENTMSG_SYSCALL_ENTRY = 0x1
|
||||
PTRACE_EVENTMSG_SYSCALL_EXIT = 0x2
|
||||
PTRACE_EVENT_CLONE = 0x3
|
||||
PTRACE_EVENT_EXEC = 0x4
|
||||
PTRACE_EVENT_EXIT = 0x6
|
||||
|
@ -1685,6 +1711,7 @@ const (
|
|||
PTRACE_GETSIGINFO = 0x4202
|
||||
PTRACE_GETSIGMASK = 0x420a
|
||||
PTRACE_GET_LAST_BREAK = 0x5006
|
||||
PTRACE_GET_SYSCALL_INFO = 0x420e
|
||||
PTRACE_INTERRUPT = 0x4207
|
||||
PTRACE_KILL = 0x8
|
||||
PTRACE_LISTEN = 0x4208
|
||||
|
@ -1728,6 +1755,10 @@ const (
|
|||
PTRACE_SINGLEBLOCK = 0xc
|
||||
PTRACE_SINGLESTEP = 0x9
|
||||
PTRACE_SYSCALL = 0x18
|
||||
PTRACE_SYSCALL_INFO_ENTRY = 0x1
|
||||
PTRACE_SYSCALL_INFO_EXIT = 0x2
|
||||
PTRACE_SYSCALL_INFO_NONE = 0x0
|
||||
PTRACE_SYSCALL_INFO_SECCOMP = 0x3
|
||||
PTRACE_TE_ABORT_RAND = 0x5011
|
||||
PTRACE_TRACEME = 0x0
|
||||
PT_ACR0 = 0x90
|
||||
|
@ -1845,7 +1876,7 @@ const (
|
|||
RTAX_UNSPEC = 0x0
|
||||
RTAX_WINDOW = 0x3
|
||||
RTA_ALIGNTO = 0x4
|
||||
RTA_MAX = 0x1d
|
||||
RTA_MAX = 0x1e
|
||||
RTCF_DIRECTSRC = 0x4000000
|
||||
RTCF_DOREDIRECT = 0x1000000
|
||||
RTCF_LOG = 0x2000000
|
||||
|
@ -1918,6 +1949,7 @@ const (
|
|||
RTM_DELMDB = 0x55
|
||||
RTM_DELNEIGH = 0x1d
|
||||
RTM_DELNETCONF = 0x51
|
||||
RTM_DELNEXTHOP = 0x69
|
||||
RTM_DELNSID = 0x59
|
||||
RTM_DELQDISC = 0x25
|
||||
RTM_DELROUTE = 0x19
|
||||
|
@ -1942,6 +1974,7 @@ const (
|
|||
RTM_GETNEIGH = 0x1e
|
||||
RTM_GETNEIGHTBL = 0x42
|
||||
RTM_GETNETCONF = 0x52
|
||||
RTM_GETNEXTHOP = 0x6a
|
||||
RTM_GETNSID = 0x5a
|
||||
RTM_GETQDISC = 0x26
|
||||
RTM_GETROUTE = 0x1a
|
||||
|
@ -1949,7 +1982,7 @@ const (
|
|||
RTM_GETSTATS = 0x5e
|
||||
RTM_GETTCLASS = 0x2a
|
||||
RTM_GETTFILTER = 0x2e
|
||||
RTM_MAX = 0x67
|
||||
RTM_MAX = 0x6b
|
||||
RTM_NEWACTION = 0x30
|
||||
RTM_NEWADDR = 0x14
|
||||
RTM_NEWADDRLABEL = 0x48
|
||||
|
@ -1961,6 +1994,7 @@ const (
|
|||
RTM_NEWNEIGH = 0x1c
|
||||
RTM_NEWNEIGHTBL = 0x40
|
||||
RTM_NEWNETCONF = 0x50
|
||||
RTM_NEWNEXTHOP = 0x68
|
||||
RTM_NEWNSID = 0x58
|
||||
RTM_NEWPREFIX = 0x34
|
||||
RTM_NEWQDISC = 0x24
|
||||
|
@ -1969,8 +2003,8 @@ const (
|
|||
RTM_NEWSTATS = 0x5c
|
||||
RTM_NEWTCLASS = 0x28
|
||||
RTM_NEWTFILTER = 0x2c
|
||||
RTM_NR_FAMILIES = 0x16
|
||||
RTM_NR_MSGTYPES = 0x58
|
||||
RTM_NR_FAMILIES = 0x17
|
||||
RTM_NR_MSGTYPES = 0x5c
|
||||
RTM_SETDCB = 0x4f
|
||||
RTM_SETLINK = 0x13
|
||||
RTM_SETNEIGHTBL = 0x43
|
||||
|
@ -2055,6 +2089,8 @@ const (
|
|||
SIOCDRARP = 0x8960
|
||||
SIOCETHTOOL = 0x8946
|
||||
SIOCGARP = 0x8954
|
||||
SIOCGETLINKNAME = 0x89e0
|
||||
SIOCGETNODEID = 0x89e1
|
||||
SIOCGHWTSTAMP = 0x89b1
|
||||
SIOCGIFADDR = 0x8915
|
||||
SIOCGIFBR = 0x8940
|
||||
|
@ -2193,6 +2229,7 @@ const (
|
|||
SO_DEBUG = 0x1
|
||||
SO_DETACH_BPF = 0x1b
|
||||
SO_DETACH_FILTER = 0x1b
|
||||
SO_DETACH_REUSEPORT_BPF = 0x44
|
||||
SO_DOMAIN = 0x27
|
||||
SO_DONTROUTE = 0x5
|
||||
SO_EE_CODE_TXTIME_INVALID_PARAM = 0x1
|
||||
|
@ -2493,6 +2530,71 @@ const (
|
|||
TIOCSTI = 0x5412
|
||||
TIOCSWINSZ = 0x5414
|
||||
TIOCVHANGUP = 0x5437
|
||||
TIPC_ADDR_ID = 0x3
|
||||
TIPC_ADDR_MCAST = 0x1
|
||||
TIPC_ADDR_NAME = 0x2
|
||||
TIPC_ADDR_NAMESEQ = 0x1
|
||||
TIPC_CFG_SRV = 0x0
|
||||
TIPC_CLUSTER_BITS = 0xc
|
||||
TIPC_CLUSTER_MASK = 0xfff000
|
||||
TIPC_CLUSTER_OFFSET = 0xc
|
||||
TIPC_CLUSTER_SIZE = 0xfff
|
||||
TIPC_CONN_SHUTDOWN = 0x5
|
||||
TIPC_CONN_TIMEOUT = 0x82
|
||||
TIPC_CRITICAL_IMPORTANCE = 0x3
|
||||
TIPC_DESTNAME = 0x3
|
||||
TIPC_DEST_DROPPABLE = 0x81
|
||||
TIPC_ERRINFO = 0x1
|
||||
TIPC_ERR_NO_NAME = 0x1
|
||||
TIPC_ERR_NO_NODE = 0x3
|
||||
TIPC_ERR_NO_PORT = 0x2
|
||||
TIPC_ERR_OVERLOAD = 0x4
|
||||
TIPC_GROUP_JOIN = 0x87
|
||||
TIPC_GROUP_LEAVE = 0x88
|
||||
TIPC_GROUP_LOOPBACK = 0x1
|
||||
TIPC_GROUP_MEMBER_EVTS = 0x2
|
||||
TIPC_HIGH_IMPORTANCE = 0x2
|
||||
TIPC_IMPORTANCE = 0x7f
|
||||
TIPC_LINK_STATE = 0x2
|
||||
TIPC_LOW_IMPORTANCE = 0x0
|
||||
TIPC_MAX_BEARER_NAME = 0x20
|
||||
TIPC_MAX_IF_NAME = 0x10
|
||||
TIPC_MAX_LINK_NAME = 0x44
|
||||
TIPC_MAX_MEDIA_NAME = 0x10
|
||||
TIPC_MAX_USER_MSG_SIZE = 0x101d0
|
||||
TIPC_MCAST_BROADCAST = 0x85
|
||||
TIPC_MCAST_REPLICAST = 0x86
|
||||
TIPC_MEDIUM_IMPORTANCE = 0x1
|
||||
TIPC_NODEID_LEN = 0x10
|
||||
TIPC_NODE_BITS = 0xc
|
||||
TIPC_NODE_MASK = 0xfff
|
||||
TIPC_NODE_OFFSET = 0x0
|
||||
TIPC_NODE_RECVQ_DEPTH = 0x83
|
||||
TIPC_NODE_SIZE = 0xfff
|
||||
TIPC_NODE_STATE = 0x0
|
||||
TIPC_OK = 0x0
|
||||
TIPC_PUBLISHED = 0x1
|
||||
TIPC_RESERVED_TYPES = 0x40
|
||||
TIPC_RETDATA = 0x2
|
||||
TIPC_SERVICE_ADDR = 0x2
|
||||
TIPC_SERVICE_RANGE = 0x1
|
||||
TIPC_SOCKET_ADDR = 0x3
|
||||
TIPC_SOCK_RECVQ_DEPTH = 0x84
|
||||
TIPC_SOCK_RECVQ_USED = 0x89
|
||||
TIPC_SRC_DROPPABLE = 0x80
|
||||
TIPC_SUBSCR_TIMEOUT = 0x3
|
||||
TIPC_SUB_CANCEL = 0x4
|
||||
TIPC_SUB_PORTS = 0x1
|
||||
TIPC_SUB_SERVICE = 0x2
|
||||
TIPC_TOP_SRV = 0x1
|
||||
TIPC_WAIT_FOREVER = 0xffffffff
|
||||
TIPC_WITHDRAWN = 0x2
|
||||
TIPC_ZONE_BITS = 0x8
|
||||
TIPC_ZONE_CLUSTER_MASK = 0xfffff000
|
||||
TIPC_ZONE_MASK = 0xff000000
|
||||
TIPC_ZONE_OFFSET = 0x18
|
||||
TIPC_ZONE_SCOPE = 0x1
|
||||
TIPC_ZONE_SIZE = 0xff
|
||||
TMPFS_MAGIC = 0x1021994
|
||||
TOSTOP = 0x100
|
||||
TPACKET_ALIGNMENT = 0x10
|
||||
|
@ -2506,7 +2608,7 @@ const (
|
|||
TP_STATUS_LOSING = 0x4
|
||||
TP_STATUS_SENDING = 0x2
|
||||
TP_STATUS_SEND_REQUEST = 0x1
|
||||
TP_STATUS_TS_RAW_HARDWARE = -0x80000000
|
||||
TP_STATUS_TS_RAW_HARDWARE = 0x80000000
|
||||
TP_STATUS_TS_SOFTWARE = 0x20000000
|
||||
TP_STATUS_TS_SYS_HARDWARE = 0x40000000
|
||||
TP_STATUS_USER = 0x1
|
||||
|
@ -2704,6 +2806,8 @@ const (
|
|||
XDP_FLAGS_SKB_MODE = 0x2
|
||||
XDP_FLAGS_UPDATE_IF_NOEXIST = 0x1
|
||||
XDP_MMAP_OFFSETS = 0x1
|
||||
XDP_OPTIONS = 0x8
|
||||
XDP_OPTIONS_ZEROCOPY = 0x1
|
||||
XDP_PACKET_HEADROOM = 0x100
|
||||
XDP_PGOFF_RX_RING = 0x0
|
||||
XDP_PGOFF_TX_RING = 0x80000000
|
||||
|
@ -2720,6 +2824,7 @@ const (
|
|||
XENFS_SUPER_MAGIC = 0xabba1974
|
||||
XFS_SUPER_MAGIC = 0x58465342
|
||||
XTABS = 0x1800
|
||||
Z3FOLD_MAGIC = 0x33
|
||||
ZSMALLOC_MAGIC = 0x58295829
|
||||
)
|
||||
|
||||
|
|
117
vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
generated
vendored
117
vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
generated
vendored
|
@ -256,6 +256,7 @@ const (
|
|||
BPF_F_STACK_BUILD_ID = 0x20
|
||||
BPF_F_STRICT_ALIGNMENT = 0x1
|
||||
BPF_F_SYSCTL_BASE_NAME = 0x1
|
||||
BPF_F_TEST_RND_HI32 = 0x4
|
||||
BPF_F_TUNINFO_IPV6 = 0x1
|
||||
BPF_F_USER_BUILD_ID = 0x800
|
||||
BPF_F_USER_STACK = 0x100
|
||||
|
@ -307,9 +308,10 @@ const (
|
|||
BPF_RET = 0x6
|
||||
BPF_RSH = 0x70
|
||||
BPF_SK_STORAGE_GET_F_CREATE = 0x1
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0x7
|
||||
BPF_SOCK_OPS_ALL_CB_FLAGS = 0xf
|
||||
BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2
|
||||
BPF_SOCK_OPS_RTO_CB_FLAG = 0x1
|
||||
BPF_SOCK_OPS_RTT_CB_FLAG = 0x8
|
||||
BPF_SOCK_OPS_STATE_CB_FLAG = 0x4
|
||||
BPF_ST = 0x2
|
||||
BPF_STX = 0x3
|
||||
|
@ -463,6 +465,7 @@ const (
|
|||
DAXFS_MAGIC = 0x64646178
|
||||
DEBUGFS_MAGIC = 0x64626720
|
||||
DEVPTS_SUPER_MAGIC = 0x1cd1
|
||||
DMA_BUF_MAGIC = 0x444d4142
|
||||
DT_BLK = 0x6
|
||||
DT_CHR = 0x2
|
||||
DT_DIR = 0x4
|
||||
|
@ -564,6 +567,7 @@ const (
|
|||
ETH_P_IRDA = 0x17
|
||||
ETH_P_LAT = 0x6004
|
||||
ETH_P_LINK_CTL = 0x886c
|
||||
ETH_P_LLDP = 0x88cc
|
||||
ETH_P_LOCALTALK = 0x9
|
||||
ETH_P_LOOP = 0x60
|
||||
ETH_P_LOOPBACK = 0x9000
|
||||
|
@ -725,6 +729,7 @@ const (
|
|||
F_OFD_SETLKW = 0x26
|
||||
F_OK = 0x0
|
||||
F_RDLCK = 0x1
|
||||
F_SEAL_FUTURE_WRITE = 0x10
|
||||
F_SEAL_GROW = 0x4
|
||||
F_SEAL_SEAL = 0x1
|
||||
F_SEAL_SHRINK = 0x2
|
||||
|
@ -990,6 +995,7 @@ const (
|
|||
IPV6_RECVRTHDR = 0x38
|
||||
IPV6_RECVTCLASS = 0x42
|
||||
IPV6_ROUTER_ALERT = 0x16
|
||||
IPV6_ROUTER_ALERT_ISOLATE = 0x1e
|
||||
IPV6_RTHDR = 0x39
|
||||
IPV6_RTHDRDSTOPTS = 0x37
|
||||
IPV6_RTHDR_LOOSE = 0x0
|
||||
|
@ -1088,6 +1094,17 @@ const (
|
|||
KEXEC_PRESERVE_CONTEXT = 0x2
|
||||
KEXEC_SEGMENT_MAX = 0x10
|
||||
KEYCTL_ASSUME_AUTHORITY = 0x10
|
||||
KEYCTL_CAPABILITIES = 0x1f
|
||||
KEYCTL_CAPS0_BIG_KEY = 0x10
|
||||
KEYCTL_CAPS0_CAPABILITIES = 0x1
|
||||
KEYCTL_CAPS0_DIFFIE_HELLMAN = 0x4
|
||||
KEYCTL_CAPS0_INVALIDATE = 0x20
|
||||
KEYCTL_CAPS0_MOVE = 0x80
|
||||
KEYCTL_CAPS0_PERSISTENT_KEYRINGS = 0x2
|
||||
KEYCTL_CAPS0_PUBLIC_KEY = 0x8
|
||||
KEYCTL_CAPS0_RESTRICT_KEYRING = 0x40
|
||||
KEYCTL_CAPS1_NS_KEYRING_NAME = 0x1
|
||||
KEYCTL_CAPS1_NS_KEY_TAG = 0x2
|
||||
KEYCTL_CHOWN = 0x4
|
||||
KEYCTL_CLEAR = 0x7
|
||||
KEYCTL_DESCRIBE = 0x6
|
||||
|
@ -1100,6 +1117,8 @@ const (
|
|||
KEYCTL_INVALIDATE = 0x15
|
||||
KEYCTL_JOIN_SESSION_KEYRING = 0x1
|
||||
KEYCTL_LINK = 0x8
|
||||
KEYCTL_MOVE = 0x1e
|
||||
KEYCTL_MOVE_EXCL = 0x1
|
||||
KEYCTL_NEGATE = 0xd
|
||||
KEYCTL_PKEY_DECRYPT = 0x1a
|
||||
KEYCTL_PKEY_ENCRYPT = 0x19
|
||||
|
@ -1344,6 +1363,7 @@ const (
|
|||
NETLINK_XFRM = 0x6
|
||||
NETNSA_MAX = 0x5
|
||||
NETNSA_NSID_NOT_ASSIGNED = -0x1
|
||||
NFDBITS = 0x40
|
||||
NFNETLINK_V0 = 0x0
|
||||
NFNLGRP_ACCT_QUOTA = 0x8
|
||||
NFNLGRP_CONNTRACK_DESTROY = 0x3
|
||||
|
@ -1408,6 +1428,10 @@ const (
|
|||
NLM_F_ROOT = 0x100
|
||||
NOFLSH = 0x80
|
||||
NSFS_MAGIC = 0x6e736673
|
||||
NS_GET_NSTYPE = 0x2000b703
|
||||
NS_GET_OWNER_UID = 0x2000b704
|
||||
NS_GET_PARENT = 0x2000b702
|
||||
NS_GET_USERNS = 0x2000b701
|
||||
OCFS2_SUPER_MAGIC = 0x7461636f
|
||||
OCRNL = 0x8
|
||||
OFDEL = 0x80
|
||||
|
@ -1673,6 +1697,8 @@ const (
|
|||
PTRACE_ATTACH = 0x10
|
||||
PTRACE_CONT = 0x7
|
||||
PTRACE_DETACH = 0x11
|
||||
PTRACE_EVENTMSG_SYSCALL_ENTRY = 0x1
|
||||
PTRACE_EVENTMSG_SYSCALL_EXIT = 0x2
|
||||
PTRACE_EVENT_CLONE = 0x3
|
||||
PTRACE_EVENT_EXEC = 0x4
|
||||
PTRACE_EVENT_EXIT = 0x6
|
||||
|
@ -1690,6 +1716,7 @@ const (
|
|||
PTRACE_GETREGSET = 0x4204
|
||||
PTRACE_GETSIGINFO = 0x4202
|
||||
PTRACE_GETSIGMASK = 0x420a
|
||||
PTRACE_GET_SYSCALL_INFO = 0x420e
|
||||
PTRACE_INTERRUPT = 0x4207
|
||||
PTRACE_KILL = 0x8
|
||||
PTRACE_LISTEN = 0x4208
|
||||
|
@ -1729,6 +1756,10 @@ const (
|
|||
PTRACE_SINGLESTEP = 0x9
|
||||
PTRACE_SPARC_DETACH = 0xb
|
||||
PTRACE_SYSCALL = 0x18
|
||||
PTRACE_SYSCALL_INFO_ENTRY = 0x1
|
||||
PTRACE_SYSCALL_INFO_EXIT = 0x2
|
||||
PTRACE_SYSCALL_INFO_NONE = 0x0
|
||||
PTRACE_SYSCALL_INFO_SECCOMP = 0x3
|
||||
PTRACE_TRACEME = 0x0
|
||||
PTRACE_WRITEDATA = 0x11
|
||||
PTRACE_WRITETEXT = 0x13
|
||||
|
@ -1837,7 +1868,7 @@ const (
|
|||
RTAX_UNSPEC = 0x0
|
||||
RTAX_WINDOW = 0x3
|
||||
RTA_ALIGNTO = 0x4
|
||||
RTA_MAX = 0x1d
|
||||
RTA_MAX = 0x1e
|
||||
RTCF_DIRECTSRC = 0x4000000
|
||||
RTCF_DOREDIRECT = 0x1000000
|
||||
RTCF_LOG = 0x2000000
|
||||
|
@ -1910,6 +1941,7 @@ const (
|
|||
RTM_DELMDB = 0x55
|
||||
RTM_DELNEIGH = 0x1d
|
||||
RTM_DELNETCONF = 0x51
|
||||
RTM_DELNEXTHOP = 0x69
|
||||
RTM_DELNSID = 0x59
|
||||
RTM_DELQDISC = 0x25
|
||||
RTM_DELROUTE = 0x19
|
||||
|
@ -1934,6 +1966,7 @@ const (
|
|||
RTM_GETNEIGH = 0x1e
|
||||
RTM_GETNEIGHTBL = 0x42
|
||||
RTM_GETNETCONF = 0x52
|
||||
RTM_GETNEXTHOP = 0x6a
|
||||
RTM_GETNSID = 0x5a
|
||||
RTM_GETQDISC = 0x26
|
||||
RTM_GETROUTE = 0x1a
|
||||
|
@ -1941,7 +1974,7 @@ const (
|
|||
RTM_GETSTATS = 0x5e
|
||||
RTM_GETTCLASS = 0x2a
|
||||
RTM_GETTFILTER = 0x2e
|
||||
RTM_MAX = 0x67
|
||||
RTM_MAX = 0x6b
|
||||
RTM_NEWACTION = 0x30
|
||||
RTM_NEWADDR = 0x14
|
||||
RTM_NEWADDRLABEL = 0x48
|
||||
|
@ -1953,6 +1986,7 @@ const (
|
|||
RTM_NEWNEIGH = 0x1c
|
||||
RTM_NEWNEIGHTBL = 0x40
|
||||
RTM_NEWNETCONF = 0x50
|
||||
RTM_NEWNEXTHOP = 0x68
|
||||
RTM_NEWNSID = 0x58
|
||||
RTM_NEWPREFIX = 0x34
|
||||
RTM_NEWQDISC = 0x24
|
||||
|
@ -1961,8 +1995,8 @@ const (
|
|||
RTM_NEWSTATS = 0x5c
|
||||
RTM_NEWTCLASS = 0x28
|
||||
RTM_NEWTFILTER = 0x2c
|
||||
RTM_NR_FAMILIES = 0x16
|
||||
RTM_NR_MSGTYPES = 0x58
|
||||
RTM_NR_FAMILIES = 0x17
|
||||
RTM_NR_MSGTYPES = 0x5c
|
||||
RTM_SETDCB = 0x4f
|
||||
RTM_SETLINK = 0x13
|
||||
RTM_SETNEIGHTBL = 0x43
|
||||
|
@ -2047,6 +2081,8 @@ const (
|
|||
SIOCDRARP = 0x8960
|
||||
SIOCETHTOOL = 0x8946
|
||||
SIOCGARP = 0x8954
|
||||
SIOCGETLINKNAME = 0x89e0
|
||||
SIOCGETNODEID = 0x89e1
|
||||
SIOCGHWTSTAMP = 0x89b1
|
||||
SIOCGIFADDR = 0x8915
|
||||
SIOCGIFBR = 0x8940
|
||||
|
@ -2185,6 +2221,7 @@ const (
|
|||
SO_DEBUG = 0x1
|
||||
SO_DETACH_BPF = 0x1b
|
||||
SO_DETACH_FILTER = 0x1b
|
||||
SO_DETACH_REUSEPORT_BPF = 0x47
|
||||
SO_DOMAIN = 0x1029
|
||||
SO_DONTROUTE = 0x10
|
||||
SO_EE_CODE_TXTIME_INVALID_PARAM = 0x1
|
||||
|
@ -2482,6 +2519,71 @@ const (
|
|||
TIOCSTOP = 0x2000746f
|
||||
TIOCSWINSZ = 0x80087467
|
||||
TIOCVHANGUP = 0x20005437
|
||||
TIPC_ADDR_ID = 0x3
|
||||
TIPC_ADDR_MCAST = 0x1
|
||||
TIPC_ADDR_NAME = 0x2
|
||||
TIPC_ADDR_NAMESEQ = 0x1
|
||||
TIPC_CFG_SRV = 0x0
|
||||
TIPC_CLUSTER_BITS = 0xc
|
||||
TIPC_CLUSTER_MASK = 0xfff000
|
||||
TIPC_CLUSTER_OFFSET = 0xc
|
||||
TIPC_CLUSTER_SIZE = 0xfff
|
||||
TIPC_CONN_SHUTDOWN = 0x5
|
||||
TIPC_CONN_TIMEOUT = 0x82
|
||||
TIPC_CRITICAL_IMPORTANCE = 0x3
|
||||
TIPC_DESTNAME = 0x3
|
||||
TIPC_DEST_DROPPABLE = 0x81
|
||||
TIPC_ERRINFO = 0x1
|
||||
TIPC_ERR_NO_NAME = 0x1
|
||||
TIPC_ERR_NO_NODE = 0x3
|
||||
TIPC_ERR_NO_PORT = 0x2
|
||||
TIPC_ERR_OVERLOAD = 0x4
|
||||
TIPC_GROUP_JOIN = 0x87
|
||||
TIPC_GROUP_LEAVE = 0x88
|
||||
TIPC_GROUP_LOOPBACK = 0x1
|
||||
TIPC_GROUP_MEMBER_EVTS = 0x2
|
||||
TIPC_HIGH_IMPORTANCE = 0x2
|
||||
TIPC_IMPORTANCE = 0x7f
|
||||
TIPC_LINK_STATE = 0x2
|
||||
TIPC_LOW_IMPORTANCE = 0x0
|
||||
TIPC_MAX_BEARER_NAME = 0x20
|
||||
TIPC_MAX_IF_NAME = 0x10
|
||||
TIPC_MAX_LINK_NAME = 0x44
|
||||
TIPC_MAX_MEDIA_NAME = 0x10
|
||||
TIPC_MAX_USER_MSG_SIZE = 0x101d0
|
||||
TIPC_MCAST_BROADCAST = 0x85
|
||||
TIPC_MCAST_REPLICAST = 0x86
|
||||
TIPC_MEDIUM_IMPORTANCE = 0x1
|
||||
TIPC_NODEID_LEN = 0x10
|
||||
TIPC_NODE_BITS = 0xc
|
||||
TIPC_NODE_MASK = 0xfff
|
||||
TIPC_NODE_OFFSET = 0x0
|
||||
TIPC_NODE_RECVQ_DEPTH = 0x83
|
||||
TIPC_NODE_SIZE = 0xfff
|
||||
TIPC_NODE_STATE = 0x0
|
||||
TIPC_OK = 0x0
|
||||
TIPC_PUBLISHED = 0x1
|
||||
TIPC_RESERVED_TYPES = 0x40
|
||||
TIPC_RETDATA = 0x2
|
||||
TIPC_SERVICE_ADDR = 0x2
|
||||
TIPC_SERVICE_RANGE = 0x1
|
||||
TIPC_SOCKET_ADDR = 0x3
|
||||
TIPC_SOCK_RECVQ_DEPTH = 0x84
|
||||
TIPC_SOCK_RECVQ_USED = 0x89
|
||||
TIPC_SRC_DROPPABLE = 0x80
|
||||
TIPC_SUBSCR_TIMEOUT = 0x3
|
||||
TIPC_SUB_CANCEL = 0x4
|
||||
TIPC_SUB_PORTS = 0x1
|
||||
TIPC_SUB_SERVICE = 0x2
|
||||
TIPC_TOP_SRV = 0x1
|
||||
TIPC_WAIT_FOREVER = 0xffffffff
|
||||
TIPC_WITHDRAWN = 0x2
|
||||
TIPC_ZONE_BITS = 0x8
|
||||
TIPC_ZONE_CLUSTER_MASK = 0xfffff000
|
||||
TIPC_ZONE_MASK = 0xff000000
|
||||
TIPC_ZONE_OFFSET = 0x18
|
||||
TIPC_ZONE_SCOPE = 0x1
|
||||
TIPC_ZONE_SIZE = 0xff
|
||||
TMPFS_MAGIC = 0x1021994
|
||||
TOSTOP = 0x100
|
||||
TPACKET_ALIGNMENT = 0x10
|
||||
|
@ -2495,7 +2597,7 @@ const (
|
|||
TP_STATUS_LOSING = 0x4
|
||||
TP_STATUS_SENDING = 0x2
|
||||
TP_STATUS_SEND_REQUEST = 0x1
|
||||
TP_STATUS_TS_RAW_HARDWARE = -0x80000000
|
||||
TP_STATUS_TS_RAW_HARDWARE = 0x80000000
|
||||
TP_STATUS_TS_SOFTWARE = 0x20000000
|
||||
TP_STATUS_TS_SYS_HARDWARE = 0x40000000
|
||||
TP_STATUS_USER = 0x1
|
||||
|
@ -2693,6 +2795,8 @@ const (
|
|||
XDP_FLAGS_SKB_MODE = 0x2
|
||||
XDP_FLAGS_UPDATE_IF_NOEXIST = 0x1
|
||||
XDP_MMAP_OFFSETS = 0x1
|
||||
XDP_OPTIONS = 0x8
|
||||
XDP_OPTIONS_ZEROCOPY = 0x1
|
||||
XDP_PACKET_HEADROOM = 0x100
|
||||
XDP_PGOFF_RX_RING = 0x0
|
||||
XDP_PGOFF_TX_RING = 0x80000000
|
||||
|
@ -2709,6 +2813,7 @@ const (
|
|||
XENFS_SUPER_MAGIC = 0xabba1974
|
||||
XFS_SUPER_MAGIC = 0x58465342
|
||||
XTABS = 0x1800
|
||||
Z3FOLD_MAGIC = 0x33
|
||||
ZSMALLOC_MAGIC = 0x58295829
|
||||
__TIOCFLUSH = 0x80047410
|
||||
)
|
||||
|
|
3
vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go
generated
vendored
3
vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go
generated
vendored
|
@ -3,7 +3,7 @@
|
|||
|
||||
// +build 386,netbsd
|
||||
|
||||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||
// cgo -godefs -- -m32 _const.go
|
||||
|
||||
package unix
|
||||
|
@ -1085,6 +1085,7 @@ const (
|
|||
NET_RT_MAXID = 0x6
|
||||
NET_RT_OIFLIST = 0x4
|
||||
NET_RT_OOIFLIST = 0x3
|
||||
NFDBITS = 0x20
|
||||
NOFLSH = 0x80000000
|
||||
NOTE_ATTRIB = 0x8
|
||||
NOTE_CHILD = 0x4
|
||||
|
|
3
vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go
generated
vendored
3
vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go
generated
vendored
|
@ -3,7 +3,7 @@
|
|||
|
||||
// +build amd64,netbsd
|
||||
|
||||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||
// cgo -godefs -- -m64 _const.go
|
||||
|
||||
package unix
|
||||
|
@ -1075,6 +1075,7 @@ const (
|
|||
NET_RT_MAXID = 0x6
|
||||
NET_RT_OIFLIST = 0x4
|
||||
NET_RT_OOIFLIST = 0x3
|
||||
NFDBITS = 0x20
|
||||
NOFLSH = 0x80000000
|
||||
NOTE_ATTRIB = 0x8
|
||||
NOTE_CHILD = 0x4
|
||||
|
|
3
vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go
generated
vendored
3
vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go
generated
vendored
|
@ -3,7 +3,7 @@
|
|||
|
||||
// +build arm,netbsd
|
||||
|
||||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||
// cgo -godefs -- -marm _const.go
|
||||
|
||||
package unix
|
||||
|
@ -1065,6 +1065,7 @@ const (
|
|||
NET_RT_MAXID = 0x6
|
||||
NET_RT_OIFLIST = 0x4
|
||||
NET_RT_OOIFLIST = 0x3
|
||||
NFDBITS = 0x20
|
||||
NOFLSH = 0x80000000
|
||||
NOTE_ATTRIB = 0x8
|
||||
NOTE_CHILD = 0x4
|
||||
|
|
3
vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go
generated
vendored
3
vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go
generated
vendored
|
@ -3,7 +3,7 @@
|
|||
|
||||
// +build arm64,netbsd
|
||||
|
||||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||
// cgo -godefs -- -m64 _const.go
|
||||
|
||||
package unix
|
||||
|
@ -1075,6 +1075,7 @@ const (
|
|||
NET_RT_MAXID = 0x6
|
||||
NET_RT_OIFLIST = 0x4
|
||||
NET_RT_OOIFLIST = 0x3
|
||||
NFDBITS = 0x20
|
||||
NOFLSH = 0x80000000
|
||||
NOTE_ATTRIB = 0x8
|
||||
NOTE_CHILD = 0x4
|
||||
|
|
3
vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go
generated
vendored
3
vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go
generated
vendored
|
@ -3,7 +3,7 @@
|
|||
|
||||
// +build 386,openbsd
|
||||
|
||||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||
// cgo -godefs -- -m32 _const.go
|
||||
|
||||
package unix
|
||||
|
@ -946,6 +946,7 @@ const (
|
|||
NET_RT_MAXID = 0x6
|
||||
NET_RT_STATS = 0x4
|
||||
NET_RT_TABLE = 0x5
|
||||
NFDBITS = 0x20
|
||||
NOFLSH = 0x80000000
|
||||
NOTE_ATTRIB = 0x8
|
||||
NOTE_CHILD = 0x4
|
||||
|
|
3
vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
generated
vendored
3
vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
generated
vendored
|
@ -3,7 +3,7 @@
|
|||
|
||||
// +build amd64,openbsd
|
||||
|
||||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||
// cgo -godefs -- -m64 _const.go
|
||||
|
||||
package unix
|
||||
|
@ -990,6 +990,7 @@ const (
|
|||
NET_RT_MAXID = 0x7
|
||||
NET_RT_STATS = 0x4
|
||||
NET_RT_TABLE = 0x5
|
||||
NFDBITS = 0x20
|
||||
NOFLSH = 0x80000000
|
||||
NOKERNINFO = 0x2000000
|
||||
NOTE_ATTRIB = 0x8
|
||||
|
|
3
vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go
generated
vendored
3
vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go
generated
vendored
|
@ -1,7 +1,7 @@
|
|||
// mkerrors.sh
|
||||
// Code generated by the command above; see README.md. DO NOT EDIT.
|
||||
|
||||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||
// cgo -godefs -- _const.go
|
||||
|
||||
// +build arm,openbsd
|
||||
|
@ -947,6 +947,7 @@ const (
|
|||
NET_RT_MAXID = 0x6
|
||||
NET_RT_STATS = 0x4
|
||||
NET_RT_TABLE = 0x5
|
||||
NFDBITS = 0x20
|
||||
NOFLSH = 0x80000000
|
||||
NOTE_ATTRIB = 0x8
|
||||
NOTE_CHILD = 0x4
|
||||
|
|
1
vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go
generated
vendored
1
vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go
generated
vendored
|
@ -996,6 +996,7 @@ const (
|
|||
NET_RT_MAXID = 0x7
|
||||
NET_RT_STATS = 0x4
|
||||
NET_RT_TABLE = 0x5
|
||||
NFDBITS = 0x20
|
||||
NOFLSH = 0x80000000
|
||||
NOKERNINFO = 0x2000000
|
||||
NOTE_ATTRIB = 0x8
|
||||
|
|
3
vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go
generated
vendored
3
vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go
generated
vendored
|
@ -3,7 +3,7 @@
|
|||
|
||||
// +build amd64,solaris
|
||||
|
||||
// Created by cgo -godefs - DO NOT EDIT
|
||||
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||
// cgo -godefs -- -m64 _const.go
|
||||
|
||||
package unix
|
||||
|
@ -666,6 +666,7 @@ const (
|
|||
M_FLUSH = 0x86
|
||||
NAME_MAX = 0xff
|
||||
NEWDEV = 0x1
|
||||
NFDBITS = 0x40
|
||||
NL0 = 0x0
|
||||
NL1 = 0x100
|
||||
NLDLY = 0x100
|
||||
|
|
57
vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_11.go
generated
vendored
57
vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_11.go
generated
vendored
|
@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||
var _p0 unsafe.Pointer
|
||||
if len(mib) > 0 {
|
||||
_p0 = unsafe.Pointer(&mib[0])
|
||||
} else {
|
||||
_p0 = unsafe.Pointer(&_zero)
|
||||
}
|
||||
_, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func utimes(path string, timeval *[2]Timeval) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(path)
|
||||
|
@ -377,16 +361,6 @@ func Munlockall() (err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_GETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
|
||||
if e1 != 0 {
|
||||
|
@ -1352,8 +1326,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
||||
r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
n = int(r0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
|
@ -1691,6 +1666,32 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||
var _p0 unsafe.Pointer
|
||||
if len(mib) > 0 {
|
||||
_p0 = unsafe.Pointer(&mib[0])
|
||||
} else {
|
||||
_p0 = unsafe.Pointer(&_zero)
|
||||
}
|
||||
_, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
|
||||
r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
|
||||
sec = int32(r0)
|
||||
|
|
92
vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go
generated
vendored
92
vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go
generated
vendored
|
@ -304,27 +304,6 @@ func libc_kevent_trampoline()
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||
var _p0 unsafe.Pointer
|
||||
if len(mib) > 0 {
|
||||
_p0 = unsafe.Pointer(&mib[0])
|
||||
} else {
|
||||
_p0 = unsafe.Pointer(&_zero)
|
||||
}
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc___sysctl_trampoline), uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func libc___sysctl_trampoline()
|
||||
|
||||
//go:linkname libc___sysctl libc___sysctl
|
||||
//go:cgo_import_dynamic libc___sysctl __sysctl "/usr/lib/libSystem.B.dylib"
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func utimes(path string, timeval *[2]Timeval) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(path)
|
||||
|
@ -527,21 +506,6 @@ func libc_munlockall_trampoline()
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc_ptrace_trampoline), uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func libc_ptrace_trampoline()
|
||||
|
||||
//go:linkname libc_ptrace libc_ptrace
|
||||
//go:cgo_import_dynamic libc_ptrace ptrace "/usr/lib/libSystem.B.dylib"
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc_getattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
|
||||
if e1 != 0 {
|
||||
|
@ -943,6 +907,21 @@ func libc_chroot_trampoline()
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ClockGettime(clockid int32, time *Timespec) (err error) {
|
||||
_, _, e1 := syscall_syscall(funcPC(libc_clock_gettime_trampoline), uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func libc_clock_gettime_trampoline()
|
||||
|
||||
//go:linkname libc_clock_gettime libc_clock_gettime
|
||||
//go:cgo_import_dynamic libc_clock_gettime clock_gettime "/usr/lib/libSystem.B.dylib"
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Close(fd int) (err error) {
|
||||
_, _, e1 := syscall_syscall(funcPC(libc_close_trampoline), uintptr(fd), 0, 0)
|
||||
if e1 != 0 {
|
||||
|
@ -1872,8 +1851,9 @@ func libc_lseek_trampoline()
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc_select_trampoline), uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
||||
r0, _, e1 := syscall_syscall6(funcPC(libc_select_trampoline), uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
n = int(r0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
|
@ -2341,6 +2321,42 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||
var _p0 unsafe.Pointer
|
||||
if len(mib) > 0 {
|
||||
_p0 = unsafe.Pointer(&mib[0])
|
||||
} else {
|
||||
_p0 = unsafe.Pointer(&_zero)
|
||||
}
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc___sysctl_trampoline), uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func libc___sysctl_trampoline()
|
||||
|
||||
//go:linkname libc___sysctl libc___sysctl
|
||||
//go:cgo_import_dynamic libc___sysctl __sysctl "/usr/lib/libSystem.B.dylib"
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc_ptrace_trampoline), uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func libc_ptrace_trampoline()
|
||||
|
||||
//go:linkname libc_ptrace libc_ptrace
|
||||
//go:cgo_import_dynamic libc_ptrace ptrace "/usr/lib/libSystem.B.dylib"
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
|
||||
r0, r1, e1 := syscall_rawSyscall(funcPC(libc_gettimeofday_trampoline), uintptr(unsafe.Pointer(tp)), 0, 0)
|
||||
sec = int32(r0)
|
||||
|
|
10
vendor/golang.org/x/sys/unix/zsyscall_darwin_386.s
generated
vendored
10
vendor/golang.org/x/sys/unix/zsyscall_darwin_386.s
generated
vendored
|
@ -40,8 +40,6 @@ TEXT ·libc_sendmsg_trampoline(SB),NOSPLIT,$0-0
|
|||
JMP libc_sendmsg(SB)
|
||||
TEXT ·libc_kevent_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_kevent(SB)
|
||||
TEXT ·libc___sysctl_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc___sysctl(SB)
|
||||
TEXT ·libc_utimes_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_utimes(SB)
|
||||
TEXT ·libc_futimes_trampoline(SB),NOSPLIT,$0-0
|
||||
|
@ -64,8 +62,6 @@ TEXT ·libc_munlock_trampoline(SB),NOSPLIT,$0-0
|
|||
JMP libc_munlock(SB)
|
||||
TEXT ·libc_munlockall_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_munlockall(SB)
|
||||
TEXT ·libc_ptrace_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_ptrace(SB)
|
||||
TEXT ·libc_getattrlist_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_getattrlist(SB)
|
||||
TEXT ·libc_pipe_trampoline(SB),NOSPLIT,$0-0
|
||||
|
@ -108,6 +104,8 @@ TEXT ·libc_chown_trampoline(SB),NOSPLIT,$0-0
|
|||
JMP libc_chown(SB)
|
||||
TEXT ·libc_chroot_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_chroot(SB)
|
||||
TEXT ·libc_clock_gettime_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_clock_gettime(SB)
|
||||
TEXT ·libc_close_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_close(SB)
|
||||
TEXT ·libc_dup_trampoline(SB),NOSPLIT,$0-0
|
||||
|
@ -264,6 +262,10 @@ TEXT ·libc_mmap_trampoline(SB),NOSPLIT,$0-0
|
|||
JMP libc_mmap(SB)
|
||||
TEXT ·libc_munmap_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_munmap(SB)
|
||||
TEXT ·libc___sysctl_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc___sysctl(SB)
|
||||
TEXT ·libc_ptrace_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_ptrace(SB)
|
||||
TEXT ·libc_gettimeofday_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_gettimeofday(SB)
|
||||
TEXT ·libc_fstat64_trampoline(SB),NOSPLIT,$0-0
|
||||
|
|
57
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go
generated
vendored
57
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go
generated
vendored
|
@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||
var _p0 unsafe.Pointer
|
||||
if len(mib) > 0 {
|
||||
_p0 = unsafe.Pointer(&mib[0])
|
||||
} else {
|
||||
_p0 = unsafe.Pointer(&_zero)
|
||||
}
|
||||
_, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func utimes(path string, timeval *[2]Timeval) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(path)
|
||||
|
@ -377,16 +361,6 @@ func Munlockall() (err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_GETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
|
||||
if e1 != 0 {
|
||||
|
@ -1352,8 +1326,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
||||
r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
n = int(r0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
|
@ -1691,6 +1666,32 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||
var _p0 unsafe.Pointer
|
||||
if len(mib) > 0 {
|
||||
_p0 = unsafe.Pointer(&mib[0])
|
||||
} else {
|
||||
_p0 = unsafe.Pointer(&_zero)
|
||||
}
|
||||
_, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
|
||||
r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
|
||||
sec = int64(r0)
|
||||
|
|
77
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
generated
vendored
77
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
generated
vendored
|
@ -304,27 +304,6 @@ func libc_kevent_trampoline()
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||
var _p0 unsafe.Pointer
|
||||
if len(mib) > 0 {
|
||||
_p0 = unsafe.Pointer(&mib[0])
|
||||
} else {
|
||||
_p0 = unsafe.Pointer(&_zero)
|
||||
}
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc___sysctl_trampoline), uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func libc___sysctl_trampoline()
|
||||
|
||||
//go:linkname libc___sysctl libc___sysctl
|
||||
//go:cgo_import_dynamic libc___sysctl __sysctl "/usr/lib/libSystem.B.dylib"
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func utimes(path string, timeval *[2]Timeval) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(path)
|
||||
|
@ -527,21 +506,6 @@ func libc_munlockall_trampoline()
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc_ptrace_trampoline), uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func libc_ptrace_trampoline()
|
||||
|
||||
//go:linkname libc_ptrace libc_ptrace
|
||||
//go:cgo_import_dynamic libc_ptrace ptrace "/usr/lib/libSystem.B.dylib"
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc_getattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
|
||||
if e1 != 0 {
|
||||
|
@ -1887,8 +1851,9 @@ func libc_lseek_trampoline()
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc_select_trampoline), uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
||||
r0, _, e1 := syscall_syscall6(funcPC(libc_select_trampoline), uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
n = int(r0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
|
@ -2356,6 +2321,42 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||
var _p0 unsafe.Pointer
|
||||
if len(mib) > 0 {
|
||||
_p0 = unsafe.Pointer(&mib[0])
|
||||
} else {
|
||||
_p0 = unsafe.Pointer(&_zero)
|
||||
}
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc___sysctl_trampoline), uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func libc___sysctl_trampoline()
|
||||
|
||||
//go:linkname libc___sysctl libc___sysctl
|
||||
//go:cgo_import_dynamic libc___sysctl __sysctl "/usr/lib/libSystem.B.dylib"
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc_ptrace_trampoline), uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func libc_ptrace_trampoline()
|
||||
|
||||
//go:linkname libc_ptrace libc_ptrace
|
||||
//go:cgo_import_dynamic libc_ptrace ptrace "/usr/lib/libSystem.B.dylib"
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
|
||||
r0, r1, e1 := syscall_rawSyscall(funcPC(libc_gettimeofday_trampoline), uintptr(unsafe.Pointer(tp)), 0, 0)
|
||||
sec = int64(r0)
|
||||
|
|
8
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s
generated
vendored
8
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s
generated
vendored
|
@ -40,8 +40,6 @@ TEXT ·libc_sendmsg_trampoline(SB),NOSPLIT,$0-0
|
|||
JMP libc_sendmsg(SB)
|
||||
TEXT ·libc_kevent_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_kevent(SB)
|
||||
TEXT ·libc___sysctl_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc___sysctl(SB)
|
||||
TEXT ·libc_utimes_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_utimes(SB)
|
||||
TEXT ·libc_futimes_trampoline(SB),NOSPLIT,$0-0
|
||||
|
@ -64,8 +62,6 @@ TEXT ·libc_munlock_trampoline(SB),NOSPLIT,$0-0
|
|||
JMP libc_munlock(SB)
|
||||
TEXT ·libc_munlockall_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_munlockall(SB)
|
||||
TEXT ·libc_ptrace_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_ptrace(SB)
|
||||
TEXT ·libc_getattrlist_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_getattrlist(SB)
|
||||
TEXT ·libc_pipe_trampoline(SB),NOSPLIT,$0-0
|
||||
|
@ -266,6 +262,10 @@ TEXT ·libc_mmap_trampoline(SB),NOSPLIT,$0-0
|
|||
JMP libc_mmap(SB)
|
||||
TEXT ·libc_munmap_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_munmap(SB)
|
||||
TEXT ·libc___sysctl_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc___sysctl(SB)
|
||||
TEXT ·libc_ptrace_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_ptrace(SB)
|
||||
TEXT ·libc_gettimeofday_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_gettimeofday(SB)
|
||||
TEXT ·libc_fstat64_trampoline(SB),NOSPLIT,$0-0
|
||||
|
|
31
vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_11.go
generated
vendored
31
vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_11.go
generated
vendored
|
@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||
var _p0 unsafe.Pointer
|
||||
if len(mib) > 0 {
|
||||
_p0 = unsafe.Pointer(&mib[0])
|
||||
} else {
|
||||
_p0 = unsafe.Pointer(&_zero)
|
||||
}
|
||||
_, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func utimes(path string, timeval *[2]Timeval) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(path)
|
||||
|
@ -377,16 +361,6 @@ func Munlockall() (err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_GETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
|
||||
if e1 != 0 {
|
||||
|
@ -1352,8 +1326,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
||||
r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
n = int(r0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
|
|
56
vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
generated
vendored
56
vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
generated
vendored
|
@ -304,27 +304,6 @@ func libc_kevent_trampoline()
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||
var _p0 unsafe.Pointer
|
||||
if len(mib) > 0 {
|
||||
_p0 = unsafe.Pointer(&mib[0])
|
||||
} else {
|
||||
_p0 = unsafe.Pointer(&_zero)
|
||||
}
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc___sysctl_trampoline), uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func libc___sysctl_trampoline()
|
||||
|
||||
//go:linkname libc___sysctl libc___sysctl
|
||||
//go:cgo_import_dynamic libc___sysctl __sysctl "/usr/lib/libSystem.B.dylib"
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func utimes(path string, timeval *[2]Timeval) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(path)
|
||||
|
@ -527,21 +506,6 @@ func libc_munlockall_trampoline()
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc_ptrace_trampoline), uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func libc_ptrace_trampoline()
|
||||
|
||||
//go:linkname libc_ptrace libc_ptrace
|
||||
//go:cgo_import_dynamic libc_ptrace ptrace "/usr/lib/libSystem.B.dylib"
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc_getattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
|
||||
if e1 != 0 {
|
||||
|
@ -943,6 +907,21 @@ func libc_chroot_trampoline()
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ClockGettime(clockid int32, time *Timespec) (err error) {
|
||||
_, _, e1 := syscall_syscall(funcPC(libc_clock_gettime_trampoline), uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func libc_clock_gettime_trampoline()
|
||||
|
||||
//go:linkname libc_clock_gettime libc_clock_gettime
|
||||
//go:cgo_import_dynamic libc_clock_gettime clock_gettime "/usr/lib/libSystem.B.dylib"
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Close(fd int) (err error) {
|
||||
_, _, e1 := syscall_syscall(funcPC(libc_close_trampoline), uintptr(fd), 0, 0)
|
||||
if e1 != 0 {
|
||||
|
@ -1872,8 +1851,9 @@ func libc_lseek_trampoline()
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc_select_trampoline), uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
||||
r0, _, e1 := syscall_syscall6(funcPC(libc_select_trampoline), uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
n = int(r0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
|
|
2
vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.s
generated
vendored
2
vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.s
generated
vendored
|
@ -64,8 +64,6 @@ TEXT ·libc_munlock_trampoline(SB),NOSPLIT,$0-0
|
|||
JMP libc_munlock(SB)
|
||||
TEXT ·libc_munlockall_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_munlockall(SB)
|
||||
TEXT ·libc_ptrace_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_ptrace(SB)
|
||||
TEXT ·libc_getattrlist_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_getattrlist(SB)
|
||||
TEXT ·libc_pipe_trampoline(SB),NOSPLIT,$0-0
|
||||
|
|
31
vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_11.go
generated
vendored
31
vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_11.go
generated
vendored
|
@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||
var _p0 unsafe.Pointer
|
||||
if len(mib) > 0 {
|
||||
_p0 = unsafe.Pointer(&mib[0])
|
||||
} else {
|
||||
_p0 = unsafe.Pointer(&_zero)
|
||||
}
|
||||
_, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func utimes(path string, timeval *[2]Timeval) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(path)
|
||||
|
@ -377,16 +361,6 @@ func Munlockall() (err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_GETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
|
||||
if e1 != 0 {
|
||||
|
@ -1352,8 +1326,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
||||
r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
n = int(r0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
|
|
56
vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
generated
vendored
56
vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
generated
vendored
|
@ -304,27 +304,6 @@ func libc_kevent_trampoline()
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||
var _p0 unsafe.Pointer
|
||||
if len(mib) > 0 {
|
||||
_p0 = unsafe.Pointer(&mib[0])
|
||||
} else {
|
||||
_p0 = unsafe.Pointer(&_zero)
|
||||
}
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc___sysctl_trampoline), uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func libc___sysctl_trampoline()
|
||||
|
||||
//go:linkname libc___sysctl libc___sysctl
|
||||
//go:cgo_import_dynamic libc___sysctl __sysctl "/usr/lib/libSystem.B.dylib"
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func utimes(path string, timeval *[2]Timeval) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(path)
|
||||
|
@ -527,21 +506,6 @@ func libc_munlockall_trampoline()
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc_ptrace_trampoline), uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func libc_ptrace_trampoline()
|
||||
|
||||
//go:linkname libc_ptrace libc_ptrace
|
||||
//go:cgo_import_dynamic libc_ptrace ptrace "/usr/lib/libSystem.B.dylib"
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc_getattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
|
||||
if e1 != 0 {
|
||||
|
@ -943,6 +907,21 @@ func libc_chroot_trampoline()
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ClockGettime(clockid int32, time *Timespec) (err error) {
|
||||
_, _, e1 := syscall_syscall(funcPC(libc_clock_gettime_trampoline), uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func libc_clock_gettime_trampoline()
|
||||
|
||||
//go:linkname libc_clock_gettime libc_clock_gettime
|
||||
//go:cgo_import_dynamic libc_clock_gettime clock_gettime "/usr/lib/libSystem.B.dylib"
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Close(fd int) (err error) {
|
||||
_, _, e1 := syscall_syscall(funcPC(libc_close_trampoline), uintptr(fd), 0, 0)
|
||||
if e1 != 0 {
|
||||
|
@ -1872,8 +1851,9 @@ func libc_lseek_trampoline()
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
|
||||
_, _, e1 := syscall_syscall6(funcPC(libc_select_trampoline), uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
||||
r0, _, e1 := syscall_syscall6(funcPC(libc_select_trampoline), uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
n = int(r0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
|
|
6
vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s
generated
vendored
6
vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s
generated
vendored
|
@ -40,8 +40,6 @@ TEXT ·libc_sendmsg_trampoline(SB),NOSPLIT,$0-0
|
|||
JMP libc_sendmsg(SB)
|
||||
TEXT ·libc_kevent_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_kevent(SB)
|
||||
TEXT ·libc___sysctl_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc___sysctl(SB)
|
||||
TEXT ·libc_utimes_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_utimes(SB)
|
||||
TEXT ·libc_futimes_trampoline(SB),NOSPLIT,$0-0
|
||||
|
@ -64,8 +62,6 @@ TEXT ·libc_munlock_trampoline(SB),NOSPLIT,$0-0
|
|||
JMP libc_munlock(SB)
|
||||
TEXT ·libc_munlockall_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_munlockall(SB)
|
||||
TEXT ·libc_ptrace_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_ptrace(SB)
|
||||
TEXT ·libc_getattrlist_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_getattrlist(SB)
|
||||
TEXT ·libc_pipe_trampoline(SB),NOSPLIT,$0-0
|
||||
|
@ -108,6 +104,8 @@ TEXT ·libc_chown_trampoline(SB),NOSPLIT,$0-0
|
|||
JMP libc_chown(SB)
|
||||
TEXT ·libc_chroot_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_chroot(SB)
|
||||
TEXT ·libc_clock_gettime_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_clock_gettime(SB)
|
||||
TEXT ·libc_close_trampoline(SB),NOSPLIT,$0-0
|
||||
JMP libc_close(SB)
|
||||
TEXT ·libc_dup_trampoline(SB),NOSPLIT,$0-0
|
||||
|
|
5
vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go
generated
vendored
5
vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go
generated
vendored
|
@ -1272,8 +1272,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
||||
r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
n = int(r0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
|
|
5
vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go
generated
vendored
5
vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go
generated
vendored
|
@ -1606,8 +1606,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
||||
r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
n = int(r0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
|
|
45
vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
generated
vendored
45
vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
generated
vendored
|
@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||
var _p0 unsafe.Pointer
|
||||
if len(mib) > 0 {
|
||||
_p0 = unsafe.Pointer(&mib[0])
|
||||
} else {
|
||||
_p0 = unsafe.Pointer(&_zero)
|
||||
}
|
||||
_, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func utimes(path string, timeval *[2]Timeval) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(path)
|
||||
|
@ -377,8 +361,14 @@ func Munlockall() (err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func pipe2(p *[2]_C_int, flags int) (err error) {
|
||||
_, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||
var _p0 unsafe.Pointer
|
||||
if len(mib) > 0 {
|
||||
_p0 = unsafe.Pointer(&mib[0])
|
||||
} else {
|
||||
_p0 = unsafe.Pointer(&_zero)
|
||||
}
|
||||
_, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
|
@ -387,8 +377,8 @@ func pipe2(p *[2]_C_int, flags int) (err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data int) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
func pipe2(p *[2]_C_int, flags int) (err error) {
|
||||
_, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
|
@ -424,6 +414,16 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data int) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Access(path string, mode uint32) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(path)
|
||||
|
@ -1606,8 +1606,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
||||
r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
n = int(r0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
|
|
45
vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go
generated
vendored
45
vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go
generated
vendored
|
@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||
var _p0 unsafe.Pointer
|
||||
if len(mib) > 0 {
|
||||
_p0 = unsafe.Pointer(&mib[0])
|
||||
} else {
|
||||
_p0 = unsafe.Pointer(&_zero)
|
||||
}
|
||||
_, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func utimes(path string, timeval *[2]Timeval) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(path)
|
||||
|
@ -377,8 +361,14 @@ func Munlockall() (err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func pipe2(p *[2]_C_int, flags int) (err error) {
|
||||
_, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||
var _p0 unsafe.Pointer
|
||||
if len(mib) > 0 {
|
||||
_p0 = unsafe.Pointer(&mib[0])
|
||||
} else {
|
||||
_p0 = unsafe.Pointer(&_zero)
|
||||
}
|
||||
_, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
|
@ -387,8 +377,8 @@ func pipe2(p *[2]_C_int, flags int) (err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data int) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
func pipe2(p *[2]_C_int, flags int) (err error) {
|
||||
_, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
|
@ -424,6 +414,16 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data int) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Access(path string, mode uint32) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(path)
|
||||
|
@ -1606,8 +1606,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
||||
r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
n = int(r0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
|
|
45
vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go
generated
vendored
45
vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go
generated
vendored
|
@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||
var _p0 unsafe.Pointer
|
||||
if len(mib) > 0 {
|
||||
_p0 = unsafe.Pointer(&mib[0])
|
||||
} else {
|
||||
_p0 = unsafe.Pointer(&_zero)
|
||||
}
|
||||
_, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func utimes(path string, timeval *[2]Timeval) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(path)
|
||||
|
@ -377,6 +361,22 @@ func Munlockall() (err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
|
||||
var _p0 unsafe.Pointer
|
||||
if len(mib) > 0 {
|
||||
_p0 = unsafe.Pointer(&mib[0])
|
||||
} else {
|
||||
_p0 = unsafe.Pointer(&_zero)
|
||||
}
|
||||
_, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func pipe2(p *[2]_C_int, flags int) (err error) {
|
||||
_, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
|
||||
if e1 != 0 {
|
||||
|
@ -404,8 +404,8 @@ func Getcwd(buf []byte) (n int, err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data int) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
||||
_, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
|
@ -414,8 +414,8 @@ func ptrace(request int, pid int, addr uintptr, data int) (err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ioctl(fd int, req uint, arg uintptr) (err error) {
|
||||
_, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
|
||||
func ptrace(request int, pid int, addr uintptr, data int) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
|
@ -1606,8 +1606,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
|
||||
r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
|
||||
n = int(r0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
|
|
30
vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
generated
vendored
30
vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
generated
vendored
|
@ -305,6 +305,36 @@ func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret int, err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func keyctlRestrictKeyringByType(cmd int, arg2 int, keyType string, restriction string) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(keyType)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
var _p1 *byte
|
||||
_p1, err = BytePtrFromString(restriction)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
_, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func keyctlRestrictKeyring(cmd int, arg2 int) (err error) {
|
||||
_, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
|
|
30
vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go
generated
vendored
30
vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go
generated
vendored
|
@ -305,6 +305,36 @@ func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret int, err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func keyctlRestrictKeyringByType(cmd int, arg2 int, keyType string, restriction string) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(keyType)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
var _p1 *byte
|
||||
_p1, err = BytePtrFromString(restriction)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
_, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func keyctlRestrictKeyring(cmd int, arg2 int) (err error) {
|
||||
_, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
|
|
30
vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
generated
vendored
30
vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
generated
vendored
|
@ -305,6 +305,36 @@ func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret int, err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func keyctlRestrictKeyringByType(cmd int, arg2 int, keyType string, restriction string) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(keyType)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
var _p1 *byte
|
||||
_p1, err = BytePtrFromString(restriction)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
_, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func keyctlRestrictKeyring(cmd int, arg2 int) (err error) {
|
||||
_, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
|
|
30
vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
generated
vendored
30
vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
generated
vendored
|
@ -305,6 +305,36 @@ func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret int, err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func keyctlRestrictKeyringByType(cmd int, arg2 int, keyType string, restriction string) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(keyType)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
var _p1 *byte
|
||||
_p1, err = BytePtrFromString(restriction)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
_, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func keyctlRestrictKeyring(cmd int, arg2 int) (err error) {
|
||||
_, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
|
|
30
vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go
generated
vendored
30
vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go
generated
vendored
|
@ -305,6 +305,36 @@ func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret int, err error) {
|
|||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func keyctlRestrictKeyringByType(cmd int, arg2 int, keyType string, restriction string) (err error) {
|
||||
var _p0 *byte
|
||||
_p0, err = BytePtrFromString(keyType)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
var _p1 *byte
|
||||
_p1, err = BytePtrFromString(restriction)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
_, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func keyctlRestrictKeyring(cmd int, arg2 int) (err error) {
|
||||
_, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), 0)
|
||||
if e1 != 0 {
|
||||
err = errnoErr(e1)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
|
||||
_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
|
||||
if e1 != 0 {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue