vendor: golang.org/x/sys v0.0.0-20200622214017-ed371f2e16b4
full diff: 9dae0f8f57...ed371f2e16
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
			
			
This commit is contained in:
		| @@ -53,7 +53,7 @@ go.etcd.io/bbolt                                    v1.3.5 | ||||
| go.opencensus.io                                    v0.22.0 | ||||
| golang.org/x/net                                    ab34263943818b32f575efc978a3d24e80b04bd7 | ||||
| golang.org/x/sync                                   42b317875d0fa942474b76e1b46a6060d720ae6e | ||||
| golang.org/x/sys                                    9dae0f8f577553e0f21298e18926efc9644c281d | ||||
| golang.org/x/sys                                    ed371f2e16b4b305ee99df548828de367527b76b | ||||
| golang.org/x/text                                   v0.3.3 | ||||
| google.golang.org/genproto                          e50cd9704f63023d62cd06a1994b98227fc4d21a | ||||
| google.golang.org/grpc                              v1.27.1 | ||||
|   | ||||
							
								
								
									
										11
									
								
								vendor/golang.org/x/sys/cpu/byteorder.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								vendor/golang.org/x/sys/cpu/byteorder.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -39,20 +39,25 @@ func (bigEndian) Uint64(b []byte) uint64 { | ||||
| 		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. | ||||
| // hostByteOrder returns littleEndian on little-endian machines and | ||||
| // bigEndian on big-endian machines. | ||||
| func hostByteOrder() byteOrder { | ||||
| 	switch runtime.GOARCH { | ||||
| 	case "386", "amd64", "amd64p32", | ||||
| 		"alpha", | ||||
| 		"arm", "arm64", | ||||
| 		"mipsle", "mips64le", "mips64p32le", | ||||
| 		"nios2", | ||||
| 		"ppc64le", | ||||
| 		"riscv", "riscv64": | ||||
| 		"riscv", "riscv64", | ||||
| 		"sh": | ||||
| 		return littleEndian{} | ||||
| 	case "armbe", "arm64be", | ||||
| 		"m68k", | ||||
| 		"mips", "mips64", "mips64p32", | ||||
| 		"ppc", "ppc64", | ||||
| 		"s390", "s390x", | ||||
| 		"shbe", | ||||
| 		"sparc", "sparc64": | ||||
| 		return bigEndian{} | ||||
| 	} | ||||
|   | ||||
| @@ -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 aix,ppc64 | ||||
| // +build aix | ||||
| 
 | ||||
| package cpu | ||||
| 
 | ||||
							
								
								
									
										8
									
								
								vendor/golang.org/x/sys/cpu/cpu_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								vendor/golang.org/x/sys/cpu/cpu_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -10,8 +10,14 @@ const cacheLineSize = 64 | ||||
|  | ||||
| func init() { | ||||
| 	switch runtime.GOOS { | ||||
| 	case "android", "darwin": | ||||
| 	case "android", "darwin", "netbsd": | ||||
| 		// Android and iOS don't seem to allow reading these registers. | ||||
| 		// | ||||
| 		// NetBSD: | ||||
| 		// ID_AA64ISAR0_EL1 is a privileged register and cannot be read from EL0. | ||||
| 		// It can be read via sysctl(3). Example for future implementers: | ||||
| 		// https://nxr.netbsd.org/xref/src/usr.sbin/cpuctl/arch/aarch64.c | ||||
| 		// | ||||
| 		// Fake the minimal features expected by | ||||
| 		// TestARM64minimalFeatures. | ||||
| 		ARM64.HasASIMD = true | ||||
|   | ||||
							
								
								
									
										27
									
								
								vendor/golang.org/x/sys/cpu/syscall_aix_gccgo.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								vendor/golang.org/x/sys/cpu/syscall_aix_gccgo.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| // Copyright 2020 The Go Authors. All rights reserved. | ||||
| // Use of this source code is governed by a BSD-style | ||||
| // license that can be found in the LICENSE file. | ||||
|  | ||||
| // Recreate a getsystemcfg syscall handler instead of | ||||
| // using the one provided by x/sys/unix to avoid having | ||||
| // the dependency between them. (See golang.org/issue/32102) | ||||
| // Morever, this file will be used during the building of | ||||
| // gccgo's libgo and thus must not used a CGo method. | ||||
|  | ||||
| // +build aix | ||||
| // +build gccgo | ||||
|  | ||||
| package cpu | ||||
|  | ||||
| import ( | ||||
| 	"syscall" | ||||
| ) | ||||
|  | ||||
| //extern getsystemcfg | ||||
| func gccgoGetsystemcfg(label uint32) (r uint64) | ||||
|  | ||||
| func callgetsystemcfg(label int) (r1 uintptr, e1 syscall.Errno) { | ||||
| 	r1 = uintptr(gccgoGetsystemcfg(uint32(label))) | ||||
| 	e1 = syscall.GetErrno() | ||||
| 	return | ||||
| } | ||||
							
								
								
									
										30
									
								
								vendor/golang.org/x/sys/internal/unsafeheader/unsafeheader.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								vendor/golang.org/x/sys/internal/unsafeheader/unsafeheader.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,30 @@ | ||||
| // Copyright 2020 The Go Authors. All rights reserved. | ||||
| // Use of this source code is governed by a BSD-style | ||||
| // license that can be found in the LICENSE file. | ||||
|  | ||||
| // Package unsafeheader contains header declarations for the Go runtime's | ||||
| // slice and string implementations. | ||||
| // | ||||
| // This package allows x/sys to use types equivalent to | ||||
| // reflect.SliceHeader and reflect.StringHeader without introducing | ||||
| // a dependency on the (relatively heavy) "reflect" package. | ||||
| package unsafeheader | ||||
|  | ||||
| import ( | ||||
| 	"unsafe" | ||||
| ) | ||||
|  | ||||
| // Slice is the runtime representation of a slice. | ||||
| // It cannot be used safely or portably and its representation may change in a later release. | ||||
| type Slice struct { | ||||
| 	Data unsafe.Pointer | ||||
| 	Len  int | ||||
| 	Cap  int | ||||
| } | ||||
|  | ||||
| // String is the runtime representation of a string. | ||||
| // It cannot be used safely or portably and its representation may change in a later release. | ||||
| type String struct { | ||||
| 	Data unsafe.Pointer | ||||
| 	Len  int | ||||
| } | ||||
							
								
								
									
										4
									
								
								vendor/golang.org/x/sys/unix/README.md
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/golang.org/x/sys/unix/README.md
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -89,7 +89,7 @@ constants. | ||||
|  | ||||
| Adding new syscall numbers is mostly done by running the build on a sufficiently | ||||
| new installation of the target OS (or updating the source checkouts for the | ||||
| new build system). However, depending on the OS, you make need to update the | ||||
| new build system). However, depending on the OS, you may need to update the | ||||
| parsing in mksysnum. | ||||
|  | ||||
| ### mksyscall.go | ||||
| @@ -163,7 +163,7 @@ The merge is performed in the following steps: | ||||
|  | ||||
| ## Generated files | ||||
|  | ||||
| ### `zerror_${GOOS}_${GOARCH}.go` | ||||
| ### `zerrors_${GOOS}_${GOARCH}.go` | ||||
|  | ||||
| A file containing all of the system's generated error numbers, error strings, | ||||
| signal numbers, and constants. Generated by `mkerrors.sh` (see above). | ||||
|   | ||||
							
								
								
									
										21
									
								
								vendor/golang.org/x/sys/unix/syscall_darwin.1_13.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										21
									
								
								vendor/golang.org/x/sys/unix/syscall_darwin.1_13.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -6,7 +6,11 @@ | ||||
|  | ||||
| package unix | ||||
|  | ||||
| import "unsafe" | ||||
| import ( | ||||
| 	"unsafe" | ||||
|  | ||||
| 	"golang.org/x/sys/internal/unsafeheader" | ||||
| ) | ||||
|  | ||||
| //sys	closedir(dir uintptr) (err error) | ||||
| //sys	readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) | ||||
| @@ -71,6 +75,7 @@ func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { | ||||
| 			cnt++ | ||||
| 			continue | ||||
| 		} | ||||
|  | ||||
| 		reclen := int(entry.Reclen) | ||||
| 		if reclen > len(buf) { | ||||
| 			// Not enough room. Return for now. | ||||
| @@ -79,13 +84,15 @@ func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { | ||||
| 			// restarting is O(n^2) in the length of the directory. Oh well. | ||||
| 			break | ||||
| 		} | ||||
|  | ||||
| 		// Copy entry into return buffer. | ||||
| 		s := struct { | ||||
| 			ptr unsafe.Pointer | ||||
| 			siz int | ||||
| 			cap int | ||||
| 		}{ptr: unsafe.Pointer(&entry), siz: reclen, cap: reclen} | ||||
| 		copy(buf, *(*[]byte)(unsafe.Pointer(&s))) | ||||
| 		var s []byte | ||||
| 		hdr := (*unsafeheader.Slice)(unsafe.Pointer(&s)) | ||||
| 		hdr.Data = unsafe.Pointer(&entry) | ||||
| 		hdr.Cap = reclen | ||||
| 		hdr.Len = reclen | ||||
| 		copy(buf, s) | ||||
|  | ||||
| 		buf = buf[reclen:] | ||||
| 		n += reclen | ||||
| 		cnt++ | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/golang.org/x/sys/unix/syscall_darwin.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/golang.org/x/sys/unix/syscall_darwin.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -423,6 +423,7 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e | ||||
| //sysnb	Getrlimit(which int, lim *Rlimit) (err error) | ||||
| //sysnb	Getrusage(who int, rusage *Rusage) (err error) | ||||
| //sysnb	Getsid(pid int) (sid int, err error) | ||||
| //sysnb	Gettimeofday(tp *Timeval) (err error) | ||||
| //sysnb	Getuid() (uid int) | ||||
| //sysnb	Issetugid() (tainted bool) | ||||
| //sys	Kqueue() (fd int, err error) | ||||
|   | ||||
							
								
								
									
										11
									
								
								vendor/golang.org/x/sys/unix/syscall_darwin_386.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								vendor/golang.org/x/sys/unix/syscall_darwin_386.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -20,17 +20,6 @@ func setTimeval(sec, usec int64) Timeval { | ||||
| 	return Timeval{Sec: int32(sec), Usec: int32(usec)} | ||||
| } | ||||
|  | ||||
| //sysnb	gettimeofday(tp *Timeval) (sec int32, usec int32, err error) | ||||
| func Gettimeofday(tv *Timeval) (err error) { | ||||
| 	// The tv passed to gettimeofday must be non-nil | ||||
| 	// but is otherwise unused. The answers come back | ||||
| 	// in the two registers. | ||||
| 	sec, usec, err := gettimeofday(tv) | ||||
| 	tv.Sec = int32(sec) | ||||
| 	tv.Usec = int32(usec) | ||||
| 	return err | ||||
| } | ||||
|  | ||||
| func SetKevent(k *Kevent_t, fd, mode, flags int) { | ||||
| 	k.Ident = uint32(fd) | ||||
| 	k.Filter = int16(mode) | ||||
|   | ||||
							
								
								
									
										11
									
								
								vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -20,17 +20,6 @@ func setTimeval(sec, usec int64) Timeval { | ||||
| 	return Timeval{Sec: sec, Usec: int32(usec)} | ||||
| } | ||||
|  | ||||
| //sysnb	gettimeofday(tp *Timeval) (sec int64, usec int32, err error) | ||||
| func Gettimeofday(tv *Timeval) (err error) { | ||||
| 	// The tv passed to gettimeofday must be non-nil | ||||
| 	// but is otherwise unused. The answers come back | ||||
| 	// in the two registers. | ||||
| 	sec, usec, err := gettimeofday(tv) | ||||
| 	tv.Sec = sec | ||||
| 	tv.Usec = usec | ||||
| 	return err | ||||
| } | ||||
|  | ||||
| func SetKevent(k *Kevent_t, fd, mode, flags int) { | ||||
| 	k.Ident = uint64(fd) | ||||
| 	k.Filter = int16(mode) | ||||
|   | ||||
							
								
								
									
										11
									
								
								vendor/golang.org/x/sys/unix/syscall_darwin_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								vendor/golang.org/x/sys/unix/syscall_darwin_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -20,17 +20,6 @@ func setTimeval(sec, usec int64) Timeval { | ||||
| 	return Timeval{Sec: int32(sec), Usec: int32(usec)} | ||||
| } | ||||
|  | ||||
| //sysnb	gettimeofday(tp *Timeval) (sec int32, usec int32, err error) | ||||
| func Gettimeofday(tv *Timeval) (err error) { | ||||
| 	// The tv passed to gettimeofday must be non-nil | ||||
| 	// but is otherwise unused. The answers come back | ||||
| 	// in the two registers. | ||||
| 	sec, usec, err := gettimeofday(tv) | ||||
| 	tv.Sec = int32(sec) | ||||
| 	tv.Usec = int32(usec) | ||||
| 	return err | ||||
| } | ||||
|  | ||||
| func SetKevent(k *Kevent_t, fd, mode, flags int) { | ||||
| 	k.Ident = uint32(fd) | ||||
| 	k.Filter = int16(mode) | ||||
|   | ||||
							
								
								
									
										11
									
								
								vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -22,17 +22,6 @@ func setTimeval(sec, usec int64) Timeval { | ||||
| 	return Timeval{Sec: sec, Usec: int32(usec)} | ||||
| } | ||||
|  | ||||
| //sysnb	gettimeofday(tp *Timeval) (sec int64, usec int32, err error) | ||||
| func Gettimeofday(tv *Timeval) (err error) { | ||||
| 	// The tv passed to gettimeofday must be non-nil | ||||
| 	// but is otherwise unused. The answers come back | ||||
| 	// in the two registers. | ||||
| 	sec, usec, err := gettimeofday(tv) | ||||
| 	tv.Sec = sec | ||||
| 	tv.Usec = usec | ||||
| 	return err | ||||
| } | ||||
|  | ||||
| func SetKevent(k *Kevent_t, fd, mode, flags int) { | ||||
| 	k.Ident = uint64(fd) | ||||
| 	k.Filter = int16(mode) | ||||
|   | ||||
							
								
								
									
										41
									
								
								vendor/golang.org/x/sys/unix/syscall_linux.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										41
									
								
								vendor/golang.org/x/sys/unix/syscall_linux.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -97,6 +97,12 @@ func IoctlSetRTCTime(fd int, value *RTCTime) error { | ||||
| 	return err | ||||
| } | ||||
|  | ||||
| func IoctlSetRTCWkAlrm(fd int, value *RTCWkAlrm) error { | ||||
| 	err := ioctl(fd, RTC_WKALM_SET, uintptr(unsafe.Pointer(value))) | ||||
| 	runtime.KeepAlive(value) | ||||
| 	return err | ||||
| } | ||||
|  | ||||
| func IoctlGetUint32(fd int, req uint) (uint32, error) { | ||||
| 	var value uint32 | ||||
| 	err := ioctl(fd, req, uintptr(unsafe.Pointer(&value))) | ||||
| @@ -109,6 +115,12 @@ func IoctlGetRTCTime(fd int) (*RTCTime, error) { | ||||
| 	return &value, err | ||||
| } | ||||
|  | ||||
| func IoctlGetRTCWkAlrm(fd int) (*RTCWkAlrm, error) { | ||||
| 	var value RTCWkAlrm | ||||
| 	err := ioctl(fd, RTC_WKALM_RD, uintptr(unsafe.Pointer(&value))) | ||||
| 	return &value, err | ||||
| } | ||||
|  | ||||
| //sys	Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) | ||||
|  | ||||
| func Link(oldpath string, newpath string) (err error) { | ||||
| @@ -1633,6 +1645,15 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e | ||||
| //sys	CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) | ||||
| //sys	DeleteModule(name string, flags int) (err error) | ||||
| //sys	Dup(oldfd int) (fd int, err error) | ||||
|  | ||||
| func Dup2(oldfd, newfd int) error { | ||||
| 	// Android O and newer blocks dup2; riscv and arm64 don't implement dup2. | ||||
| 	if runtime.GOOS == "android" || runtime.GOARCH == "riscv64" || runtime.GOARCH == "arm64" { | ||||
| 		return Dup3(oldfd, newfd, 0) | ||||
| 	} | ||||
| 	return dup2(oldfd, newfd) | ||||
| } | ||||
|  | ||||
| //sys	Dup3(oldfd int, newfd int, flags int) (err error) | ||||
| //sysnb	EpollCreate1(flag int) (fd int, err error) | ||||
| //sysnb	EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) | ||||
| @@ -1757,6 +1778,9 @@ func Signalfd(fd int, sigmask *Sigset_t, flags int) (newfd int, err error) { | ||||
| //sys	Syncfs(fd int) (err error) | ||||
| //sysnb	Sysinfo(info *Sysinfo_t) (err error) | ||||
| //sys	Tee(rfd int, wfd int, len int, flags int) (n int64, err error) | ||||
| //sysnb TimerfdCreate(clockid int, flags int) (fd int, err error) | ||||
| //sysnb TimerfdGettime(fd int, currValue *ItimerSpec) (err error) | ||||
| //sysnb TimerfdSettime(fd int, flags int, newValue *ItimerSpec, oldValue *ItimerSpec) (err error) | ||||
| //sysnb	Tgkill(tgid int, tid int, sig syscall.Signal) (err error) | ||||
| //sysnb	Times(tms *Tms) (ticks uintptr, err error) | ||||
| //sysnb	Umask(mask int) (oldmask int) | ||||
| @@ -1926,6 +1950,20 @@ func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) { | ||||
| 	return int(n), nil | ||||
| } | ||||
|  | ||||
| func isGroupMember(gid int) bool { | ||||
| 	groups, err := Getgroups() | ||||
| 	if err != nil { | ||||
| 		return false | ||||
| 	} | ||||
|  | ||||
| 	for _, g := range groups { | ||||
| 		if g == gid { | ||||
| 			return true | ||||
| 		} | ||||
| 	} | ||||
| 	return false | ||||
| } | ||||
|  | ||||
| //sys	faccessat(dirfd int, path string, mode uint32) (err error) | ||||
|  | ||||
| func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) { | ||||
| @@ -1983,7 +2021,7 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) { | ||||
| 			gid = Getgid() | ||||
| 		} | ||||
|  | ||||
| 		if uint32(gid) == st.Gid { | ||||
| 		if uint32(gid) == st.Gid || isGroupMember(gid) { | ||||
| 			fmode = (st.Mode >> 3) & 7 | ||||
| 		} else { | ||||
| 			fmode = st.Mode & 7 | ||||
| @@ -2178,7 +2216,6 @@ func Klogset(typ int, arg int) (err error) { | ||||
| // TimerGetoverrun | ||||
| // TimerGettime | ||||
| // TimerSettime | ||||
| // Timerfd | ||||
| // Tkill (obsolete) | ||||
| // Tuxcall | ||||
| // Umount2 | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_386.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_386.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -49,7 +49,7 @@ func Pipe2(p []int, flags int) (err error) { | ||||
|  | ||||
| // 64-bit file system and 32-bit uid calls | ||||
| // (386 default is 32-bit file system and 16-bit uid). | ||||
| //sys	Dup2(oldfd int, newfd int) (err error) | ||||
| //sys	dup2(oldfd int, newfd int) (err error) | ||||
| //sysnb	EpollCreate(size int) (fd int, err error) | ||||
| //sys	EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) | ||||
| //sys	Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64_64 | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -6,7 +6,7 @@ | ||||
|  | ||||
| package unix | ||||
|  | ||||
| //sys	Dup2(oldfd int, newfd int) (err error) | ||||
| //sys	dup2(oldfd int, newfd int) (err error) | ||||
| //sysnb	EpollCreate(size int) (fd int, err error) | ||||
| //sys	EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) | ||||
| //sys	Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64 | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -80,7 +80,7 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { | ||||
|  | ||||
| // 64-bit file system and 32-bit uid calls | ||||
| // (16-bit uid calls are not always supported in newer kernels) | ||||
| //sys	Dup2(oldfd int, newfd int) (err error) | ||||
| //sys	dup2(oldfd int, newfd int) (err error) | ||||
| //sysnb	EpollCreate(size int) (fd int, err error) | ||||
| //sys	EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) | ||||
| //sys	Fchown(fd int, uid int, gid int) (err error) = SYS_FCHOWN32 | ||||
|   | ||||
							
								
								
									
										28
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										28
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -25,7 +25,7 @@ func EpollCreate(size int) (fd int, err error) { | ||||
| //sysnb	Getegid() (egid int) | ||||
| //sysnb	Geteuid() (euid int) | ||||
| //sysnb	Getgid() (gid int) | ||||
| //sysnb	Getrlimit(resource int, rlim *Rlimit) (err error) | ||||
| //sysnb	getrlimit(resource int, rlim *Rlimit) (err error) | ||||
| //sysnb	Getuid() (uid int) | ||||
| //sys	Listen(s int, n int) (err error) | ||||
| //sys	Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64 | ||||
| @@ -47,7 +47,7 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err | ||||
| //sysnb	Setregid(rgid int, egid int) (err error) | ||||
| //sysnb	Setresgid(rgid int, egid int, sgid int) (err error) | ||||
| //sysnb	Setresuid(ruid int, euid int, suid int) (err error) | ||||
| //sysnb	Setrlimit(resource int, rlim *Rlimit) (err error) | ||||
| //sysnb	setrlimit(resource int, rlim *Rlimit) (err error) | ||||
| //sysnb	Setreuid(ruid int, euid int) (err error) | ||||
| //sys	Shutdown(fd int, how int) (err error) | ||||
| //sys	Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) | ||||
| @@ -168,6 +168,24 @@ func Pipe2(p []int, flags int) (err error) { | ||||
| 	return | ||||
| } | ||||
|  | ||||
| // Getrlimit prefers the prlimit64 system call. See issue 38604. | ||||
| func Getrlimit(resource int, rlim *Rlimit) error { | ||||
| 	err := prlimit(0, resource, nil, rlim) | ||||
| 	if err != ENOSYS { | ||||
| 		return err | ||||
| 	} | ||||
| 	return getrlimit(resource, rlim) | ||||
| } | ||||
|  | ||||
| // Setrlimit prefers the prlimit64 system call. See issue 38604. | ||||
| func Setrlimit(resource int, rlim *Rlimit) error { | ||||
| 	err := prlimit(0, resource, rlim, nil) | ||||
| 	if err != ENOSYS { | ||||
| 		return err | ||||
| 	} | ||||
| 	return setrlimit(resource, rlim) | ||||
| } | ||||
|  | ||||
| func (r *PtraceRegs) PC() uint64 { return r.Pc } | ||||
|  | ||||
| func (r *PtraceRegs) SetPC(pc uint64) { r.Pc = pc } | ||||
| @@ -192,9 +210,9 @@ func InotifyInit() (fd int, err error) { | ||||
| 	return InotifyInit1(0) | ||||
| } | ||||
|  | ||||
| func Dup2(oldfd int, newfd int) (err error) { | ||||
| 	return Dup3(oldfd, newfd, 0) | ||||
| } | ||||
| // dup2 exists because func Dup3 in syscall_linux.go references | ||||
| // it in an unreachable path. dup2 isn't available on arm64. | ||||
| func dup2(oldfd int, newfd int) error | ||||
|  | ||||
| func Pause() error { | ||||
| 	_, err := ppoll(nil, 0, nil, nil) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -7,7 +7,7 @@ | ||||
|  | ||||
| package unix | ||||
|  | ||||
| //sys	Dup2(oldfd int, newfd int) (err error) | ||||
| //sys	dup2(oldfd int, newfd int) (err error) | ||||
| //sysnb	EpollCreate(size int) (fd int, err error) | ||||
| //sys	EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) | ||||
| //sys	Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64 | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -14,7 +14,7 @@ import ( | ||||
|  | ||||
| func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) | ||||
|  | ||||
| //sys	Dup2(oldfd int, newfd int) (err error) | ||||
| //sys	dup2(oldfd int, newfd int) (err error) | ||||
| //sysnb	EpollCreate(size int) (fd int, err error) | ||||
| //sys	EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) | ||||
| //sys	Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64 | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -7,7 +7,7 @@ | ||||
|  | ||||
| package unix | ||||
|  | ||||
| //sys	Dup2(oldfd int, newfd int) (err error) | ||||
| //sys	dup2(oldfd int, newfd int) (err error) | ||||
| //sysnb	EpollCreate(size int) (fd int, err error) | ||||
| //sys	EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) | ||||
| //sys	Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64 | ||||
|   | ||||
							
								
								
									
										8
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -191,10 +191,6 @@ func InotifyInit() (fd int, err error) { | ||||
| 	return InotifyInit1(0) | ||||
| } | ||||
|  | ||||
| func Dup2(oldfd int, newfd int) (err error) { | ||||
| 	return Dup3(oldfd, newfd, 0) | ||||
| } | ||||
|  | ||||
| func Pause() error { | ||||
| 	_, err := ppoll(nil, 0, nil, nil) | ||||
| 	return err | ||||
| @@ -228,3 +224,7 @@ func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error | ||||
| 	} | ||||
| 	return kexecFileLoad(kernelFd, initrdFd, cmdlineLen, cmdline, flags) | ||||
| } | ||||
|  | ||||
| // dup2 exists because func Dup3 in syscall_linux.go references | ||||
| // it in an unreachable path. dup2 isn't available on arm64. | ||||
| func dup2(oldfd int, newfd int) error | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_s390x.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_s390x.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -10,7 +10,7 @@ import ( | ||||
| 	"unsafe" | ||||
| ) | ||||
|  | ||||
| //sys	Dup2(oldfd int, newfd int) (err error) | ||||
| //sys	dup2(oldfd int, newfd int) (err error) | ||||
| //sysnb	EpollCreate(size int) (fd int, err error) | ||||
| //sys	EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) | ||||
| //sys	Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64 | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -8,7 +8,7 @@ package unix | ||||
|  | ||||
| //sys	EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) | ||||
| //sys	Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64 | ||||
| //sys	Dup2(oldfd int, newfd int) (err error) | ||||
| //sys	dup2(oldfd int, newfd int) (err error) | ||||
| //sys	Fchown(fd int, uid int, gid int) (err error) | ||||
| //sys	Fstat(fd int, stat *Stat_t) (err error) | ||||
| //sys	Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_FSTATAT64 | ||||
|   | ||||
							
								
								
									
										17
									
								
								vendor/golang.org/x/sys/unix/syscall_unix.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								vendor/golang.org/x/sys/unix/syscall_unix.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -12,6 +12,8 @@ import ( | ||||
| 	"sync" | ||||
| 	"syscall" | ||||
| 	"unsafe" | ||||
|  | ||||
| 	"golang.org/x/sys/internal/unsafeheader" | ||||
| ) | ||||
|  | ||||
| var ( | ||||
| @@ -113,15 +115,12 @@ func (m *mmapper) Mmap(fd int, offset int64, length int, prot int, flags int) (d | ||||
| 		return nil, errno | ||||
| 	} | ||||
|  | ||||
| 	// Slice memory layout | ||||
| 	var sl = struct { | ||||
| 		addr uintptr | ||||
| 		len  int | ||||
| 		cap  int | ||||
| 	}{addr, length, length} | ||||
|  | ||||
| 	// Use unsafe to turn sl into a []byte. | ||||
| 	b := *(*[]byte)(unsafe.Pointer(&sl)) | ||||
| 	// Use unsafe to convert addr into a []byte. | ||||
| 	var b []byte | ||||
| 	hdr := (*unsafeheader.Slice)(unsafe.Pointer(&b)) | ||||
| 	hdr.Data = unsafe.Pointer(addr) | ||||
| 	hdr.Cap = length | ||||
| 	hdr.Len = length | ||||
|  | ||||
| 	// Register mapping in m and return it. | ||||
| 	p := &b[cap(b)-1] | ||||
|   | ||||
							
								
								
									
										89
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										89
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -160,77 +160,28 @@ const ( | ||||
| 	BPF_A                                       = 0x10 | ||||
| 	BPF_ABS                                     = 0x20 | ||||
| 	BPF_ADD                                     = 0x0 | ||||
| 	BPF_ADJ_ROOM_ENCAP_L2_MASK                  = 0xff | ||||
| 	BPF_ADJ_ROOM_ENCAP_L2_SHIFT                 = 0x38 | ||||
| 	BPF_ALU                                     = 0x4 | ||||
| 	BPF_ALU64                                   = 0x7 | ||||
| 	BPF_AND                                     = 0x50 | ||||
| 	BPF_ANY                                     = 0x0 | ||||
| 	BPF_ARSH                                    = 0xc0 | ||||
| 	BPF_B                                       = 0x10 | ||||
| 	BPF_BUILD_ID_SIZE                           = 0x14 | ||||
| 	BPF_CALL                                    = 0x80 | ||||
| 	BPF_DEVCG_ACC_MKNOD                         = 0x1 | ||||
| 	BPF_DEVCG_ACC_READ                          = 0x2 | ||||
| 	BPF_DEVCG_ACC_WRITE                         = 0x4 | ||||
| 	BPF_DEVCG_DEV_BLOCK                         = 0x1 | ||||
| 	BPF_DEVCG_DEV_CHAR                          = 0x2 | ||||
| 	BPF_DIV                                     = 0x30 | ||||
| 	BPF_DW                                      = 0x18 | ||||
| 	BPF_END                                     = 0xd0 | ||||
| 	BPF_EXIST                                   = 0x2 | ||||
| 	BPF_EXIT                                    = 0x90 | ||||
| 	BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG         = 0x1 | ||||
| 	BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP          = 0x4 | ||||
| 	BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL     = 0x2 | ||||
| 	BPF_FROM_BE                                 = 0x8 | ||||
| 	BPF_FROM_LE                                 = 0x0 | ||||
| 	BPF_FS_MAGIC                                = 0xcafe4a11 | ||||
| 	BPF_F_ADJ_ROOM_ENCAP_L3_IPV4                = 0x2 | ||||
| 	BPF_F_ADJ_ROOM_ENCAP_L3_IPV6                = 0x4 | ||||
| 	BPF_F_ADJ_ROOM_ENCAP_L4_GRE                 = 0x8 | ||||
| 	BPF_F_ADJ_ROOM_ENCAP_L4_UDP                 = 0x10 | ||||
| 	BPF_F_ADJ_ROOM_FIXED_GSO                    = 0x1 | ||||
| 	BPF_F_ALLOW_MULTI                           = 0x2 | ||||
| 	BPF_F_ALLOW_OVERRIDE                        = 0x1 | ||||
| 	BPF_F_ANY_ALIGNMENT                         = 0x2 | ||||
| 	BPF_F_CLONE                                 = 0x200 | ||||
| 	BPF_F_CTXLEN_MASK                           = 0xfffff00000000 | ||||
| 	BPF_F_CURRENT_CPU                           = 0xffffffff | ||||
| 	BPF_F_CURRENT_NETNS                         = -0x1 | ||||
| 	BPF_F_DONT_FRAGMENT                         = 0x4 | ||||
| 	BPF_F_FAST_STACK_CMP                        = 0x200 | ||||
| 	BPF_F_HDR_FIELD_MASK                        = 0xf | ||||
| 	BPF_F_INDEX_MASK                            = 0xffffffff | ||||
| 	BPF_F_INGRESS                               = 0x1 | ||||
| 	BPF_F_INVALIDATE_HASH                       = 0x2 | ||||
| 	BPF_F_LOCK                                  = 0x4 | ||||
| 	BPF_F_MARK_ENFORCE                          = 0x40 | ||||
| 	BPF_F_MARK_MANGLED_0                        = 0x20 | ||||
| 	BPF_F_MMAPABLE                              = 0x400 | ||||
| 	BPF_F_NO_COMMON_LRU                         = 0x2 | ||||
| 	BPF_F_NO_PREALLOC                           = 0x1 | ||||
| 	BPF_F_NUMA_NODE                             = 0x4 | ||||
| 	BPF_F_PSEUDO_HDR                            = 0x10 | ||||
| 	BPF_F_QUERY_EFFECTIVE                       = 0x1 | ||||
| 	BPF_F_RDONLY                                = 0x8 | ||||
| 	BPF_F_RDONLY_PROG                           = 0x80 | ||||
| 	BPF_F_RECOMPUTE_CSUM                        = 0x1 | ||||
| 	BPF_F_REUSE_STACKID                         = 0x400 | ||||
| 	BPF_F_SEQ_NUMBER                            = 0x8 | ||||
| 	BPF_F_SKIP_FIELD_MASK                       = 0xff | ||||
| 	BPF_F_STACK_BUILD_ID                        = 0x20 | ||||
| 	BPF_F_REPLACE                               = 0x4 | ||||
| 	BPF_F_STRICT_ALIGNMENT                      = 0x1 | ||||
| 	BPF_F_SYSCTL_BASE_NAME                      = 0x1 | ||||
| 	BPF_F_TEST_RND_HI32                         = 0x4 | ||||
| 	BPF_F_TEST_STATE_FREQ                       = 0x8 | ||||
| 	BPF_F_TUNINFO_IPV6                          = 0x1 | ||||
| 	BPF_F_USER_BUILD_ID                         = 0x800 | ||||
| 	BPF_F_USER_STACK                            = 0x100 | ||||
| 	BPF_F_WRONLY                                = 0x10 | ||||
| 	BPF_F_WRONLY_PROG                           = 0x100 | ||||
| 	BPF_F_ZERO_CSUM_TX                          = 0x2 | ||||
| 	BPF_F_ZERO_SEED                             = 0x40 | ||||
| 	BPF_H                                       = 0x8 | ||||
| 	BPF_IMM                                     = 0x0 | ||||
| 	BPF_IND                                     = 0x40 | ||||
| @@ -266,7 +217,6 @@ const ( | ||||
| 	BPF_MUL                                     = 0x20 | ||||
| 	BPF_NEG                                     = 0x80 | ||||
| 	BPF_NET_OFF                                 = -0x100000 | ||||
| 	BPF_NOEXIST                                 = 0x1 | ||||
| 	BPF_OBJ_NAME_LEN                            = 0x10 | ||||
| 	BPF_OR                                      = 0x40 | ||||
| 	BPF_PSEUDO_CALL                             = 0x1 | ||||
| @@ -274,12 +224,6 @@ const ( | ||||
| 	BPF_PSEUDO_MAP_VALUE                        = 0x2 | ||||
| 	BPF_RET                                     = 0x6 | ||||
| 	BPF_RSH                                     = 0x70 | ||||
| 	BPF_SK_STORAGE_GET_F_CREATE                 = 0x1 | ||||
| 	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 | ||||
| 	BPF_SUB                                     = 0x10 | ||||
| @@ -377,18 +321,21 @@ const ( | ||||
| 	CLOCK_TXINT                                 = 0x3 | ||||
| 	CLONE_ARGS_SIZE_VER0                        = 0x40 | ||||
| 	CLONE_ARGS_SIZE_VER1                        = 0x50 | ||||
| 	CLONE_ARGS_SIZE_VER2                        = 0x58 | ||||
| 	CLONE_CHILD_CLEARTID                        = 0x200000 | ||||
| 	CLONE_CHILD_SETTID                          = 0x1000000 | ||||
| 	CLONE_CLEAR_SIGHAND                         = 0x100000000 | ||||
| 	CLONE_DETACHED                              = 0x400000 | ||||
| 	CLONE_FILES                                 = 0x400 | ||||
| 	CLONE_FS                                    = 0x200 | ||||
| 	CLONE_INTO_CGROUP                           = 0x200000000 | ||||
| 	CLONE_IO                                    = 0x80000000 | ||||
| 	CLONE_NEWCGROUP                             = 0x2000000 | ||||
| 	CLONE_NEWIPC                                = 0x8000000 | ||||
| 	CLONE_NEWNET                                = 0x40000000 | ||||
| 	CLONE_NEWNS                                 = 0x20000 | ||||
| 	CLONE_NEWPID                                = 0x20000000 | ||||
| 	CLONE_NEWTIME                               = 0x80 | ||||
| 	CLONE_NEWUSER                               = 0x10000000 | ||||
| 	CLONE_NEWUTS                                = 0x4000000 | ||||
| 	CLONE_PARENT                                = 0x8000 | ||||
| @@ -596,7 +543,9 @@ const ( | ||||
| 	FAN_DELETE                                  = 0x200 | ||||
| 	FAN_DELETE_SELF                             = 0x400 | ||||
| 	FAN_DENY                                    = 0x2 | ||||
| 	FAN_DIR_MODIFY                              = 0x80000 | ||||
| 	FAN_ENABLE_AUDIT                            = 0x40 | ||||
| 	FAN_EVENT_INFO_TYPE_DFID_NAME               = 0x2 | ||||
| 	FAN_EVENT_INFO_TYPE_FID                     = 0x1 | ||||
| 	FAN_EVENT_METADATA_LEN                      = 0x18 | ||||
| 	FAN_EVENT_ON_CHILD                          = 0x8000000 | ||||
| @@ -737,6 +686,7 @@ const ( | ||||
| 	GENL_NAMSIZ                                 = 0x10 | ||||
| 	GENL_START_ALLOC                            = 0x13 | ||||
| 	GENL_UNS_ADMIN_PERM                         = 0x10 | ||||
| 	GRND_INSECURE                               = 0x4 | ||||
| 	GRND_NONBLOCK                               = 0x1 | ||||
| 	GRND_RANDOM                                 = 0x2 | ||||
| 	HDIO_DRIVE_CMD                              = 0x31f | ||||
| @@ -1487,6 +1437,7 @@ const ( | ||||
| 	PR_GET_FPEMU                                = 0x9 | ||||
| 	PR_GET_FPEXC                                = 0xb | ||||
| 	PR_GET_FP_MODE                              = 0x2e | ||||
| 	PR_GET_IO_FLUSHER                           = 0x3a | ||||
| 	PR_GET_KEEPCAPS                             = 0x7 | ||||
| 	PR_GET_NAME                                 = 0x10 | ||||
| 	PR_GET_NO_NEW_PRIVS                         = 0x27 | ||||
| @@ -1522,6 +1473,7 @@ const ( | ||||
| 	PR_SET_FPEMU                                = 0xa | ||||
| 	PR_SET_FPEXC                                = 0xc | ||||
| 	PR_SET_FP_MODE                              = 0x2d | ||||
| 	PR_SET_IO_FLUSHER                           = 0x39 | ||||
| 	PR_SET_KEEPCAPS                             = 0x8 | ||||
| 	PR_SET_MM                                   = 0x23 | ||||
| 	PR_SET_MM_ARG_END                           = 0x9 | ||||
| @@ -1750,12 +1702,15 @@ const ( | ||||
| 	RTM_DELRULE                                 = 0x21 | ||||
| 	RTM_DELTCLASS                               = 0x29 | ||||
| 	RTM_DELTFILTER                              = 0x2d | ||||
| 	RTM_DELVLAN                                 = 0x71 | ||||
| 	RTM_F_CLONED                                = 0x200 | ||||
| 	RTM_F_EQUALIZE                              = 0x400 | ||||
| 	RTM_F_FIB_MATCH                             = 0x2000 | ||||
| 	RTM_F_LOOKUP_TABLE                          = 0x1000 | ||||
| 	RTM_F_NOTIFY                                = 0x100 | ||||
| 	RTM_F_OFFLOAD                               = 0x4000 | ||||
| 	RTM_F_PREFIX                                = 0x800 | ||||
| 	RTM_F_TRAP                                  = 0x8000 | ||||
| 	RTM_GETACTION                               = 0x32 | ||||
| 	RTM_GETADDR                                 = 0x16 | ||||
| 	RTM_GETADDRLABEL                            = 0x4a | ||||
| @@ -1777,7 +1732,8 @@ const ( | ||||
| 	RTM_GETSTATS                                = 0x5e | ||||
| 	RTM_GETTCLASS                               = 0x2a | ||||
| 	RTM_GETTFILTER                              = 0x2e | ||||
| 	RTM_MAX                                     = 0x6f | ||||
| 	RTM_GETVLAN                                 = 0x72 | ||||
| 	RTM_MAX                                     = 0x73 | ||||
| 	RTM_NEWACTION                               = 0x30 | ||||
| 	RTM_NEWADDR                                 = 0x14 | ||||
| 	RTM_NEWADDRLABEL                            = 0x48 | ||||
| @@ -1792,6 +1748,7 @@ const ( | ||||
| 	RTM_NEWNETCONF                              = 0x50 | ||||
| 	RTM_NEWNEXTHOP                              = 0x68 | ||||
| 	RTM_NEWNSID                                 = 0x58 | ||||
| 	RTM_NEWNVLAN                                = 0x70 | ||||
| 	RTM_NEWPREFIX                               = 0x34 | ||||
| 	RTM_NEWQDISC                                = 0x24 | ||||
| 	RTM_NEWROUTE                                = 0x18 | ||||
| @@ -1799,8 +1756,8 @@ const ( | ||||
| 	RTM_NEWSTATS                                = 0x5c | ||||
| 	RTM_NEWTCLASS                               = 0x28 | ||||
| 	RTM_NEWTFILTER                              = 0x2c | ||||
| 	RTM_NR_FAMILIES                             = 0x18 | ||||
| 	RTM_NR_MSGTYPES                             = 0x60 | ||||
| 	RTM_NR_FAMILIES                             = 0x19 | ||||
| 	RTM_NR_MSGTYPES                             = 0x64 | ||||
| 	RTM_SETDCB                                  = 0x4f | ||||
| 	RTM_SETLINK                                 = 0x13 | ||||
| 	RTM_SETNEIGHTBL                             = 0x43 | ||||
| @@ -2090,7 +2047,7 @@ const ( | ||||
| 	TASKSTATS_GENL_NAME                         = "TASKSTATS" | ||||
| 	TASKSTATS_GENL_VERSION                      = 0x1 | ||||
| 	TASKSTATS_TYPE_MAX                          = 0x6 | ||||
| 	TASKSTATS_VERSION                           = 0x9 | ||||
| 	TASKSTATS_VERSION                           = 0xa | ||||
| 	TCIFLUSH                                    = 0x0 | ||||
| 	TCIOFF                                      = 0x2 | ||||
| 	TCIOFLUSH                                   = 0x2 | ||||
| @@ -2098,8 +2055,6 @@ const ( | ||||
| 	TCOFLUSH                                    = 0x1 | ||||
| 	TCOOFF                                      = 0x0 | ||||
| 	TCOON                                       = 0x1 | ||||
| 	TCP_BPF_IW                                  = 0x3e9 | ||||
| 	TCP_BPF_SNDCWND_CLAMP                       = 0x3ea | ||||
| 	TCP_CC_INFO                                 = 0x1a | ||||
| 	TCP_CM_INQ                                  = 0x24 | ||||
| 	TCP_CONGESTION                              = 0xd | ||||
| @@ -2155,6 +2110,8 @@ const ( | ||||
| 	TCP_USER_TIMEOUT                            = 0x12 | ||||
| 	TCP_WINDOW_CLAMP                            = 0xa | ||||
| 	TCP_ZEROCOPY_RECEIVE                        = 0x23 | ||||
| 	TFD_TIMER_ABSTIME                           = 0x1 | ||||
| 	TFD_TIMER_CANCEL_ON_SET                     = 0x2 | ||||
| 	TIMER_ABSTIME                               = 0x1 | ||||
| 	TIOCM_DTR                                   = 0x2 | ||||
| 	TIOCM_LE                                    = 0x1 | ||||
| @@ -2271,7 +2228,7 @@ const ( | ||||
| 	VMADDR_CID_ANY                              = 0xffffffff | ||||
| 	VMADDR_CID_HOST                             = 0x2 | ||||
| 	VMADDR_CID_HYPERVISOR                       = 0x0 | ||||
| 	VMADDR_CID_RESERVED                         = 0x1 | ||||
| 	VMADDR_CID_LOCAL                            = 0x1 | ||||
| 	VMADDR_PORT_ANY                             = 0xffffffff | ||||
| 	VM_SOCKETS_INVALID_VERSION                  = 0xffffffff | ||||
| 	VQUIT                                       = 0x1 | ||||
| @@ -2372,8 +2329,9 @@ const ( | ||||
| 	XDP_COPY                                    = 0x2 | ||||
| 	XDP_FLAGS_DRV_MODE                          = 0x4 | ||||
| 	XDP_FLAGS_HW_MODE                           = 0x8 | ||||
| 	XDP_FLAGS_MASK                              = 0xf | ||||
| 	XDP_FLAGS_MASK                              = 0x1f | ||||
| 	XDP_FLAGS_MODES                             = 0xe | ||||
| 	XDP_FLAGS_REPLACE                           = 0x10 | ||||
| 	XDP_FLAGS_SKB_MODE                          = 0x2 | ||||
| 	XDP_FLAGS_UPDATE_IF_NOEXIST                 = 0x1 | ||||
| 	XDP_MMAP_OFFSETS                            = 0x1 | ||||
| @@ -2398,6 +2356,7 @@ const ( | ||||
| 	XENFS_SUPER_MAGIC                           = 0xabba1974 | ||||
| 	XFS_SUPER_MAGIC                             = 0x58465342 | ||||
| 	Z3FOLD_MAGIC                                = 0x33 | ||||
| 	ZONEFS_MAGIC                                = 0x5a4f4653 | ||||
| 	ZSMALLOC_MAGIC                              = 0x58295829 | ||||
| ) | ||||
|  | ||||
|   | ||||
							
								
								
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_386.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_386.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -75,6 +75,7 @@ const ( | ||||
| 	FP_XSTATE_MAGIC2                 = 0x46505845 | ||||
| 	FS_IOC_ENABLE_VERITY             = 0x40806685 | ||||
| 	FS_IOC_GETFLAGS                  = 0x80046601 | ||||
| 	FS_IOC_GET_ENCRYPTION_NONCE      = 0x8010661b | ||||
| 	FS_IOC_GET_ENCRYPTION_POLICY     = 0x400c6615 | ||||
| 	FS_IOC_GET_ENCRYPTION_PWSALT     = 0x40106614 | ||||
| 	FS_IOC_SET_ENCRYPTION_POLICY     = 0x800c6613 | ||||
| @@ -342,6 +343,8 @@ const ( | ||||
| 	TCSETXF                          = 0x5434 | ||||
| 	TCSETXW                          = 0x5435 | ||||
| 	TCXONC                           = 0x540a | ||||
| 	TFD_CLOEXEC                      = 0x80000 | ||||
| 	TFD_NONBLOCK                     = 0x800 | ||||
| 	TIOCCBRK                         = 0x5428 | ||||
| 	TIOCCONS                         = 0x541d | ||||
| 	TIOCEXCL                         = 0x540c | ||||
|   | ||||
							
								
								
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -75,6 +75,7 @@ const ( | ||||
| 	FP_XSTATE_MAGIC2                 = 0x46505845 | ||||
| 	FS_IOC_ENABLE_VERITY             = 0x40806685 | ||||
| 	FS_IOC_GETFLAGS                  = 0x80086601 | ||||
| 	FS_IOC_GET_ENCRYPTION_NONCE      = 0x8010661b | ||||
| 	FS_IOC_GET_ENCRYPTION_POLICY     = 0x400c6615 | ||||
| 	FS_IOC_GET_ENCRYPTION_PWSALT     = 0x40106614 | ||||
| 	FS_IOC_SET_ENCRYPTION_POLICY     = 0x800c6613 | ||||
| @@ -343,6 +344,8 @@ const ( | ||||
| 	TCSETXF                          = 0x5434 | ||||
| 	TCSETXW                          = 0x5435 | ||||
| 	TCXONC                           = 0x540a | ||||
| 	TFD_CLOEXEC                      = 0x80000 | ||||
| 	TFD_NONBLOCK                     = 0x800 | ||||
| 	TIOCCBRK                         = 0x5428 | ||||
| 	TIOCCONS                         = 0x541d | ||||
| 	TIOCEXCL                         = 0x540c | ||||
|   | ||||
							
								
								
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -74,6 +74,7 @@ const ( | ||||
| 	FLUSHO                           = 0x1000 | ||||
| 	FS_IOC_ENABLE_VERITY             = 0x40806685 | ||||
| 	FS_IOC_GETFLAGS                  = 0x80046601 | ||||
| 	FS_IOC_GET_ENCRYPTION_NONCE      = 0x8010661b | ||||
| 	FS_IOC_GET_ENCRYPTION_POLICY     = 0x400c6615 | ||||
| 	FS_IOC_GET_ENCRYPTION_PWSALT     = 0x40106614 | ||||
| 	FS_IOC_SET_ENCRYPTION_POLICY     = 0x800c6613 | ||||
| @@ -349,6 +350,8 @@ const ( | ||||
| 	TCSETXF                          = 0x5434 | ||||
| 	TCSETXW                          = 0x5435 | ||||
| 	TCXONC                           = 0x540a | ||||
| 	TFD_CLOEXEC                      = 0x80000 | ||||
| 	TFD_NONBLOCK                     = 0x800 | ||||
| 	TIOCCBRK                         = 0x5428 | ||||
| 	TIOCCONS                         = 0x541d | ||||
| 	TIOCEXCL                         = 0x540c | ||||
|   | ||||
							
								
								
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -77,6 +77,7 @@ const ( | ||||
| 	FPSIMD_MAGIC                     = 0x46508001 | ||||
| 	FS_IOC_ENABLE_VERITY             = 0x40806685 | ||||
| 	FS_IOC_GETFLAGS                  = 0x80086601 | ||||
| 	FS_IOC_GET_ENCRYPTION_NONCE      = 0x8010661b | ||||
| 	FS_IOC_GET_ENCRYPTION_POLICY     = 0x400c6615 | ||||
| 	FS_IOC_GET_ENCRYPTION_PWSALT     = 0x40106614 | ||||
| 	FS_IOC_SET_ENCRYPTION_POLICY     = 0x800c6613 | ||||
| @@ -336,6 +337,8 @@ const ( | ||||
| 	TCSETXF                          = 0x5434 | ||||
| 	TCSETXW                          = 0x5435 | ||||
| 	TCXONC                           = 0x540a | ||||
| 	TFD_CLOEXEC                      = 0x80000 | ||||
| 	TFD_NONBLOCK                     = 0x800 | ||||
| 	TIOCCBRK                         = 0x5428 | ||||
| 	TIOCCONS                         = 0x541d | ||||
| 	TIOCEXCL                         = 0x540c | ||||
|   | ||||
							
								
								
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -74,6 +74,7 @@ const ( | ||||
| 	FLUSHO                           = 0x2000 | ||||
| 	FS_IOC_ENABLE_VERITY             = 0x80806685 | ||||
| 	FS_IOC_GETFLAGS                  = 0x40046601 | ||||
| 	FS_IOC_GET_ENCRYPTION_NONCE      = 0x4010661b | ||||
| 	FS_IOC_GET_ENCRYPTION_POLICY     = 0x800c6615 | ||||
| 	FS_IOC_GET_ENCRYPTION_PWSALT     = 0x80106614 | ||||
| 	FS_IOC_SET_ENCRYPTION_POLICY     = 0x400c6613 | ||||
| @@ -339,6 +340,8 @@ const ( | ||||
| 	TCSETSW                          = 0x540f | ||||
| 	TCSETSW2                         = 0x8030542c | ||||
| 	TCXONC                           = 0x5406 | ||||
| 	TFD_CLOEXEC                      = 0x80000 | ||||
| 	TFD_NONBLOCK                     = 0x80 | ||||
| 	TIOCCBRK                         = 0x5428 | ||||
| 	TIOCCONS                         = 0x80047478 | ||||
| 	TIOCEXCL                         = 0x740d | ||||
|   | ||||
							
								
								
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -74,6 +74,7 @@ const ( | ||||
| 	FLUSHO                           = 0x2000 | ||||
| 	FS_IOC_ENABLE_VERITY             = 0x80806685 | ||||
| 	FS_IOC_GETFLAGS                  = 0x40086601 | ||||
| 	FS_IOC_GET_ENCRYPTION_NONCE      = 0x4010661b | ||||
| 	FS_IOC_GET_ENCRYPTION_POLICY     = 0x800c6615 | ||||
| 	FS_IOC_GET_ENCRYPTION_PWSALT     = 0x80106614 | ||||
| 	FS_IOC_SET_ENCRYPTION_POLICY     = 0x400c6613 | ||||
| @@ -339,6 +340,8 @@ const ( | ||||
| 	TCSETSW                          = 0x540f | ||||
| 	TCSETSW2                         = 0x8030542c | ||||
| 	TCXONC                           = 0x5406 | ||||
| 	TFD_CLOEXEC                      = 0x80000 | ||||
| 	TFD_NONBLOCK                     = 0x80 | ||||
| 	TIOCCBRK                         = 0x5428 | ||||
| 	TIOCCONS                         = 0x80047478 | ||||
| 	TIOCEXCL                         = 0x740d | ||||
|   | ||||
							
								
								
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -74,6 +74,7 @@ const ( | ||||
| 	FLUSHO                           = 0x2000 | ||||
| 	FS_IOC_ENABLE_VERITY             = 0x80806685 | ||||
| 	FS_IOC_GETFLAGS                  = 0x40086601 | ||||
| 	FS_IOC_GET_ENCRYPTION_NONCE      = 0x4010661b | ||||
| 	FS_IOC_GET_ENCRYPTION_POLICY     = 0x800c6615 | ||||
| 	FS_IOC_GET_ENCRYPTION_PWSALT     = 0x80106614 | ||||
| 	FS_IOC_SET_ENCRYPTION_POLICY     = 0x400c6613 | ||||
| @@ -339,6 +340,8 @@ const ( | ||||
| 	TCSETSW                          = 0x540f | ||||
| 	TCSETSW2                         = 0x8030542c | ||||
| 	TCXONC                           = 0x5406 | ||||
| 	TFD_CLOEXEC                      = 0x80000 | ||||
| 	TFD_NONBLOCK                     = 0x80 | ||||
| 	TIOCCBRK                         = 0x5428 | ||||
| 	TIOCCONS                         = 0x80047478 | ||||
| 	TIOCEXCL                         = 0x740d | ||||
|   | ||||
							
								
								
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -74,6 +74,7 @@ const ( | ||||
| 	FLUSHO                           = 0x2000 | ||||
| 	FS_IOC_ENABLE_VERITY             = 0x80806685 | ||||
| 	FS_IOC_GETFLAGS                  = 0x40046601 | ||||
| 	FS_IOC_GET_ENCRYPTION_NONCE      = 0x4010661b | ||||
| 	FS_IOC_GET_ENCRYPTION_POLICY     = 0x800c6615 | ||||
| 	FS_IOC_GET_ENCRYPTION_PWSALT     = 0x80106614 | ||||
| 	FS_IOC_SET_ENCRYPTION_POLICY     = 0x400c6613 | ||||
| @@ -339,6 +340,8 @@ const ( | ||||
| 	TCSETSW                          = 0x540f | ||||
| 	TCSETSW2                         = 0x8030542c | ||||
| 	TCXONC                           = 0x5406 | ||||
| 	TFD_CLOEXEC                      = 0x80000 | ||||
| 	TFD_NONBLOCK                     = 0x80 | ||||
| 	TIOCCBRK                         = 0x5428 | ||||
| 	TIOCCONS                         = 0x80047478 | ||||
| 	TIOCEXCL                         = 0x740d | ||||
|   | ||||
							
								
								
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -74,6 +74,7 @@ const ( | ||||
| 	FLUSHO                           = 0x800000 | ||||
| 	FS_IOC_ENABLE_VERITY             = 0x80806685 | ||||
| 	FS_IOC_GETFLAGS                  = 0x40086601 | ||||
| 	FS_IOC_GET_ENCRYPTION_NONCE      = 0x4010661b | ||||
| 	FS_IOC_GET_ENCRYPTION_POLICY     = 0x800c6615 | ||||
| 	FS_IOC_GET_ENCRYPTION_PWSALT     = 0x80106614 | ||||
| 	FS_IOC_SET_ENCRYPTION_POLICY     = 0x400c6613 | ||||
| @@ -393,6 +394,8 @@ const ( | ||||
| 	TCSETSF                          = 0x802c7416 | ||||
| 	TCSETSW                          = 0x802c7415 | ||||
| 	TCXONC                           = 0x2000741e | ||||
| 	TFD_CLOEXEC                      = 0x80000 | ||||
| 	TFD_NONBLOCK                     = 0x800 | ||||
| 	TIOCCBRK                         = 0x5428 | ||||
| 	TIOCCONS                         = 0x541d | ||||
| 	TIOCEXCL                         = 0x540c | ||||
|   | ||||
							
								
								
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -74,6 +74,7 @@ const ( | ||||
| 	FLUSHO                           = 0x800000 | ||||
| 	FS_IOC_ENABLE_VERITY             = 0x80806685 | ||||
| 	FS_IOC_GETFLAGS                  = 0x40086601 | ||||
| 	FS_IOC_GET_ENCRYPTION_NONCE      = 0x4010661b | ||||
| 	FS_IOC_GET_ENCRYPTION_POLICY     = 0x800c6615 | ||||
| 	FS_IOC_GET_ENCRYPTION_PWSALT     = 0x80106614 | ||||
| 	FS_IOC_SET_ENCRYPTION_POLICY     = 0x400c6613 | ||||
| @@ -393,6 +394,8 @@ const ( | ||||
| 	TCSETSF                          = 0x802c7416 | ||||
| 	TCSETSW                          = 0x802c7415 | ||||
| 	TCXONC                           = 0x2000741e | ||||
| 	TFD_CLOEXEC                      = 0x80000 | ||||
| 	TFD_NONBLOCK                     = 0x800 | ||||
| 	TIOCCBRK                         = 0x5428 | ||||
| 	TIOCCONS                         = 0x541d | ||||
| 	TIOCEXCL                         = 0x540c | ||||
|   | ||||
							
								
								
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -74,6 +74,7 @@ const ( | ||||
| 	FLUSHO                           = 0x1000 | ||||
| 	FS_IOC_ENABLE_VERITY             = 0x40806685 | ||||
| 	FS_IOC_GETFLAGS                  = 0x80086601 | ||||
| 	FS_IOC_GET_ENCRYPTION_NONCE      = 0x8010661b | ||||
| 	FS_IOC_GET_ENCRYPTION_POLICY     = 0x400c6615 | ||||
| 	FS_IOC_GET_ENCRYPTION_PWSALT     = 0x40106614 | ||||
| 	FS_IOC_SET_ENCRYPTION_POLICY     = 0x800c6613 | ||||
| @@ -330,6 +331,8 @@ const ( | ||||
| 	TCSETXF                          = 0x5434 | ||||
| 	TCSETXW                          = 0x5435 | ||||
| 	TCXONC                           = 0x540a | ||||
| 	TFD_CLOEXEC                      = 0x80000 | ||||
| 	TFD_NONBLOCK                     = 0x800 | ||||
| 	TIOCCBRK                         = 0x5428 | ||||
| 	TIOCCONS                         = 0x541d | ||||
| 	TIOCEXCL                         = 0x540c | ||||
|   | ||||
							
								
								
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -74,6 +74,7 @@ const ( | ||||
| 	FLUSHO                           = 0x1000 | ||||
| 	FS_IOC_ENABLE_VERITY             = 0x40806685 | ||||
| 	FS_IOC_GETFLAGS                  = 0x80086601 | ||||
| 	FS_IOC_GET_ENCRYPTION_NONCE      = 0x8010661b | ||||
| 	FS_IOC_GET_ENCRYPTION_POLICY     = 0x400c6615 | ||||
| 	FS_IOC_GET_ENCRYPTION_PWSALT     = 0x40106614 | ||||
| 	FS_IOC_SET_ENCRYPTION_POLICY     = 0x800c6613 | ||||
| @@ -403,6 +404,8 @@ const ( | ||||
| 	TCSETXF                          = 0x5434 | ||||
| 	TCSETXW                          = 0x5435 | ||||
| 	TCXONC                           = 0x540a | ||||
| 	TFD_CLOEXEC                      = 0x80000 | ||||
| 	TFD_NONBLOCK                     = 0x800 | ||||
| 	TIOCCBRK                         = 0x5428 | ||||
| 	TIOCCONS                         = 0x541d | ||||
| 	TIOCEXCL                         = 0x540c | ||||
|   | ||||
							
								
								
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -78,6 +78,7 @@ const ( | ||||
| 	FLUSHO                           = 0x1000 | ||||
| 	FS_IOC_ENABLE_VERITY             = 0x80806685 | ||||
| 	FS_IOC_GETFLAGS                  = 0x40086601 | ||||
| 	FS_IOC_GET_ENCRYPTION_NONCE      = 0x4010661b | ||||
| 	FS_IOC_GET_ENCRYPTION_POLICY     = 0x800c6615 | ||||
| 	FS_IOC_GET_ENCRYPTION_PWSALT     = 0x80106614 | ||||
| 	FS_IOC_SET_ENCRYPTION_POLICY     = 0x400c6613 | ||||
| @@ -392,6 +393,8 @@ const ( | ||||
| 	TCSETSW                          = 0x8024540a | ||||
| 	TCSETSW2                         = 0x802c540e | ||||
| 	TCXONC                           = 0x20005406 | ||||
| 	TFD_CLOEXEC                      = 0x400000 | ||||
| 	TFD_NONBLOCK                     = 0x4000 | ||||
| 	TIOCCBRK                         = 0x2000747a | ||||
| 	TIOCCONS                         = 0x20007424 | ||||
| 	TIOCEXCL                         = 0x2000740d | ||||
|   | ||||
							
								
								
									
										22
									
								
								vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_11.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										22
									
								
								vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_11.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -966,6 +966,16 @@ func Getsid(pid int) (sid int, err error) { | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Gettimeofday(tp *Timeval) (err error) { | ||||
| 	_, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Getuid() (uid int) { | ||||
| 	r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0) | ||||
| 	uid = int(r0) | ||||
| @@ -1709,18 +1719,6 @@ func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) { | ||||
|  | ||||
| // 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) | ||||
| 	usec = int32(r1) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Fstat(fd int, stat *Stat_t) (err error) { | ||||
| 	_, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) | ||||
| 	if e1 != 0 { | ||||
|   | ||||
							
								
								
									
										32
									
								
								vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										32
									
								
								vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1376,6 +1376,21 @@ func libc_getsid_trampoline() | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Gettimeofday(tp *Timeval) (err error) { | ||||
| 	_, _, e1 := syscall_rawSyscall(funcPC(libc_gettimeofday_trampoline), uintptr(unsafe.Pointer(tp)), 0, 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| func libc_gettimeofday_trampoline() | ||||
|  | ||||
| //go:linkname libc_gettimeofday libc_gettimeofday | ||||
| //go:cgo_import_dynamic libc_gettimeofday gettimeofday "/usr/lib/libSystem.B.dylib" | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Getuid() (uid int) { | ||||
| 	r0, _, _ := syscall_rawSyscall(funcPC(libc_getuid_trampoline), 0, 0, 0) | ||||
| 	uid = int(r0) | ||||
| @@ -2357,23 +2372,6 @@ func libc_ptrace_trampoline() | ||||
|  | ||||
| // 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) | ||||
| 	usec = int32(r1) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| func libc_gettimeofday_trampoline() | ||||
|  | ||||
| //go:linkname libc_gettimeofday libc_gettimeofday | ||||
| //go:cgo_import_dynamic libc_gettimeofday gettimeofday "/usr/lib/libSystem.B.dylib" | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Fstat(fd int, stat *Stat_t) (err error) { | ||||
| 	_, _, e1 := syscall_syscall(funcPC(libc_fstat64_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) | ||||
| 	if e1 != 0 { | ||||
|   | ||||
							
								
								
									
										22
									
								
								vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										22
									
								
								vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -966,6 +966,16 @@ func Getsid(pid int) (sid int, err error) { | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Gettimeofday(tp *Timeval) (err error) { | ||||
| 	_, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Getuid() (uid int) { | ||||
| 	r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0) | ||||
| 	uid = int(r0) | ||||
| @@ -1709,18 +1719,6 @@ func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) { | ||||
|  | ||||
| // 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) | ||||
| 	usec = int32(r1) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Fstat(fd int, stat *Stat_t) (err error) { | ||||
| 	_, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) | ||||
| 	if e1 != 0 { | ||||
|   | ||||
							
								
								
									
										32
									
								
								vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										32
									
								
								vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1376,6 +1376,21 @@ func libc_getsid_trampoline() | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Gettimeofday(tp *Timeval) (err error) { | ||||
| 	_, _, e1 := syscall_rawSyscall(funcPC(libc_gettimeofday_trampoline), uintptr(unsafe.Pointer(tp)), 0, 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| func libc_gettimeofday_trampoline() | ||||
|  | ||||
| //go:linkname libc_gettimeofday libc_gettimeofday | ||||
| //go:cgo_import_dynamic libc_gettimeofday gettimeofday "/usr/lib/libSystem.B.dylib" | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Getuid() (uid int) { | ||||
| 	r0, _, _ := syscall_rawSyscall(funcPC(libc_getuid_trampoline), 0, 0, 0) | ||||
| 	uid = int(r0) | ||||
| @@ -2357,23 +2372,6 @@ func libc_ptrace_trampoline() | ||||
|  | ||||
| // 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) | ||||
| 	usec = int32(r1) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| func libc_gettimeofday_trampoline() | ||||
|  | ||||
| //go:linkname libc_gettimeofday libc_gettimeofday | ||||
| //go:cgo_import_dynamic libc_gettimeofday gettimeofday "/usr/lib/libSystem.B.dylib" | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Fstat(fd int, stat *Stat_t) (err error) { | ||||
| 	_, _, e1 := syscall_syscall(funcPC(libc_fstat64_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) | ||||
| 	if e1 != 0 { | ||||
|   | ||||
							
								
								
									
										22
									
								
								vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_11.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										22
									
								
								vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_11.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -966,6 +966,16 @@ func Getsid(pid int) (sid int, err error) { | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Gettimeofday(tp *Timeval) (err error) { | ||||
| 	_, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Getuid() (uid int) { | ||||
| 	r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0) | ||||
| 	uid = int(r0) | ||||
| @@ -1682,18 +1692,6 @@ 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 gettimeofday(tp *Timeval) (sec int32, usec int32, err error) { | ||||
| 	r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0) | ||||
| 	sec = int32(r0) | ||||
| 	usec = int32(r1) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Fstat(fd int, stat *Stat_t) (err error) { | ||||
| 	_, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) | ||||
| 	if e1 != 0 { | ||||
|   | ||||
							
								
								
									
										32
									
								
								vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										32
									
								
								vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1376,6 +1376,21 @@ func libc_getsid_trampoline() | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Gettimeofday(tp *Timeval) (err error) { | ||||
| 	_, _, e1 := syscall_rawSyscall(funcPC(libc_gettimeofday_trampoline), uintptr(unsafe.Pointer(tp)), 0, 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| func libc_gettimeofday_trampoline() | ||||
|  | ||||
| //go:linkname libc_gettimeofday libc_gettimeofday | ||||
| //go:cgo_import_dynamic libc_gettimeofday gettimeofday "/usr/lib/libSystem.B.dylib" | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Getuid() (uid int) { | ||||
| 	r0, _, _ := syscall_rawSyscall(funcPC(libc_getuid_trampoline), 0, 0, 0) | ||||
| 	uid = int(r0) | ||||
| @@ -2342,23 +2357,6 @@ 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 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) | ||||
| 	usec = int32(r1) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| func libc_gettimeofday_trampoline() | ||||
|  | ||||
| //go:linkname libc_gettimeofday libc_gettimeofday | ||||
| //go:cgo_import_dynamic libc_gettimeofday gettimeofday "/usr/lib/libSystem.B.dylib" | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Fstat(fd int, stat *Stat_t) (err error) { | ||||
| 	_, _, e1 := syscall_syscall(funcPC(libc_fstat_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) | ||||
| 	if e1 != 0 { | ||||
|   | ||||
							
								
								
									
										22
									
								
								vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_11.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										22
									
								
								vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_11.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -966,6 +966,16 @@ func Getsid(pid int) (sid int, err error) { | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Gettimeofday(tp *Timeval) (err error) { | ||||
| 	_, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Getuid() (uid int) { | ||||
| 	r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0) | ||||
| 	uid = int(r0) | ||||
| @@ -1682,18 +1692,6 @@ 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 gettimeofday(tp *Timeval) (sec int64, usec int32, err error) { | ||||
| 	r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0) | ||||
| 	sec = int64(r0) | ||||
| 	usec = int32(r1) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Fstat(fd int, stat *Stat_t) (err error) { | ||||
| 	_, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) | ||||
| 	if e1 != 0 { | ||||
|   | ||||
							
								
								
									
										32
									
								
								vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										32
									
								
								vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1376,6 +1376,21 @@ func libc_getsid_trampoline() | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Gettimeofday(tp *Timeval) (err error) { | ||||
| 	_, _, e1 := syscall_rawSyscall(funcPC(libc_gettimeofday_trampoline), uintptr(unsafe.Pointer(tp)), 0, 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| func libc_gettimeofday_trampoline() | ||||
|  | ||||
| //go:linkname libc_gettimeofday libc_gettimeofday | ||||
| //go:cgo_import_dynamic libc_gettimeofday gettimeofday "/usr/lib/libSystem.B.dylib" | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Getuid() (uid int) { | ||||
| 	r0, _, _ := syscall_rawSyscall(funcPC(libc_getuid_trampoline), 0, 0, 0) | ||||
| 	uid = int(r0) | ||||
| @@ -2342,23 +2357,6 @@ 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 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) | ||||
| 	usec = int32(r1) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| func libc_gettimeofday_trampoline() | ||||
|  | ||||
| //go:linkname libc_gettimeofday libc_gettimeofday | ||||
| //go:cgo_import_dynamic libc_gettimeofday gettimeofday "/usr/lib/libSystem.B.dylib" | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Fstat(fd int, stat *Stat_t) (err error) { | ||||
| 	_, _, e1 := syscall_syscall(funcPC(libc_fstat_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) | ||||
| 	if e1 != 0 { | ||||
|   | ||||
							
								
								
									
										31
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										31
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1450,6 +1450,37 @@ func Sysinfo(info *Sysinfo_t) (err error) { | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func TimerfdCreate(clockid int, flags int) (fd int, err error) { | ||||
| 	r0, _, e1 := RawSyscall(SYS_TIMERFD_CREATE, uintptr(clockid), uintptr(flags), 0) | ||||
| 	fd = int(r0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func TimerfdGettime(fd int, currValue *ItimerSpec) (err error) { | ||||
| 	_, _, e1 := RawSyscall(SYS_TIMERFD_GETTIME, uintptr(fd), uintptr(unsafe.Pointer(currValue)), 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func TimerfdSettime(fd int, flags int, newValue *ItimerSpec, oldValue *ItimerSpec) (err error) { | ||||
| 	_, _, e1 := RawSyscall6(SYS_TIMERFD_SETTIME, uintptr(fd), uintptr(flags), uintptr(unsafe.Pointer(newValue)), uintptr(unsafe.Pointer(oldValue)), 0, 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) { | ||||
| 	_, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig)) | ||||
| 	if e1 != 0 { | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -55,7 +55,7 @@ func pipe(p *[2]_C_int) (err error) { | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Dup2(oldfd int, newfd int) (err error) { | ||||
| func dup2(oldfd int, newfd int) (err error) { | ||||
| 	_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -45,7 +45,7 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Dup2(oldfd int, newfd int) (err error) { | ||||
| func dup2(oldfd int, newfd int) (err error) { | ||||
| 	_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -234,7 +234,7 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Dup2(oldfd int, newfd int) (err error) { | ||||
| func dup2(oldfd int, newfd int) (err error) { | ||||
| 	_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
|   | ||||
							
								
								
									
										4
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -151,7 +151,7 @@ func Getgid() (gid int) { | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Getrlimit(resource int, rlim *Rlimit) (err error) { | ||||
| func getrlimit(resource int, rlim *Rlimit) (err error) { | ||||
| 	_, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
| @@ -307,7 +307,7 @@ func Setresuid(ruid int, euid int, suid int) (err error) { | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Setrlimit(resource int, rlim *Rlimit) (err error) { | ||||
| func setrlimit(resource int, rlim *Rlimit) (err error) { | ||||
| 	_, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -45,7 +45,7 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Dup2(oldfd int, newfd int) (err error) { | ||||
| func dup2(oldfd int, newfd int) (err error) { | ||||
| 	_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -45,7 +45,7 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Dup2(oldfd int, newfd int) (err error) { | ||||
| func dup2(oldfd int, newfd int) (err error) { | ||||
| 	_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -45,7 +45,7 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Dup2(oldfd int, newfd int) (err error) { | ||||
| func dup2(oldfd int, newfd int) (err error) { | ||||
| 	_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -45,7 +45,7 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Dup2(oldfd int, newfd int) (err error) { | ||||
| func dup2(oldfd int, newfd int) (err error) { | ||||
| 	_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -45,7 +45,7 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Dup2(oldfd int, newfd int) (err error) { | ||||
| func dup2(oldfd int, newfd int) (err error) { | ||||
| 	_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -45,7 +45,7 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Dup2(oldfd int, newfd int) (err error) { | ||||
| func dup2(oldfd int, newfd int) (err error) { | ||||
| 	_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -45,7 +45,7 @@ func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Dup2(oldfd int, newfd int) (err error) { | ||||
| func dup2(oldfd int, newfd int) (err error) { | ||||
| 	_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -72,7 +72,7 @@ func Fadvise(fd int, offset int64, length int64, advice int) (err error) { | ||||
|  | ||||
| // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | ||||
|  | ||||
| func Dup2(oldfd int, newfd int) (err error) { | ||||
| func dup2(oldfd int, newfd int) (err error) { | ||||
| 	_, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) | ||||
| 	if e1 != 0 { | ||||
| 		err = errnoErr(e1) | ||||
|   | ||||
							
								
								
									
										3
									
								
								vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,4 +1,4 @@ | ||||
| // mksysctl_openbsd.pl | ||||
| // go run mksysctl_openbsd.go | ||||
| // Code generated by the command above; DO NOT EDIT. | ||||
|  | ||||
| // +build 386,openbsd | ||||
| @@ -30,6 +30,7 @@ var sysctlMib = []mibentry{ | ||||
| 	{"hw.model", []_C_int{6, 2}}, | ||||
| 	{"hw.ncpu", []_C_int{6, 3}}, | ||||
| 	{"hw.ncpufound", []_C_int{6, 21}}, | ||||
| 	{"hw.ncpuonline", []_C_int{6, 25}}, | ||||
| 	{"hw.pagesize", []_C_int{6, 7}}, | ||||
| 	{"hw.physmem", []_C_int{6, 19}}, | ||||
| 	{"hw.product", []_C_int{6, 15}}, | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -31,6 +31,7 @@ var sysctlMib = []mibentry{ | ||||
| 	{"hw.model", []_C_int{6, 2}}, | ||||
| 	{"hw.ncpu", []_C_int{6, 3}}, | ||||
| 	{"hw.ncpufound", []_C_int{6, 21}}, | ||||
| 	{"hw.ncpuonline", []_C_int{6, 25}}, | ||||
| 	{"hw.pagesize", []_C_int{6, 7}}, | ||||
| 	{"hw.perfpolicy", []_C_int{6, 23}}, | ||||
| 	{"hw.physmem", []_C_int{6, 19}}, | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -30,6 +30,7 @@ var sysctlMib = []mibentry{ | ||||
| 	{"hw.model", []_C_int{6, 2}}, | ||||
| 	{"hw.ncpu", []_C_int{6, 3}}, | ||||
| 	{"hw.ncpufound", []_C_int{6, 21}}, | ||||
| 	{"hw.ncpuonline", []_C_int{6, 25}}, | ||||
| 	{"hw.pagesize", []_C_int{6, 7}}, | ||||
| 	{"hw.physmem", []_C_int{6, 19}}, | ||||
| 	{"hw.product", []_C_int{6, 15}}, | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_386.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_386.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -431,4 +431,6 @@ const ( | ||||
| 	SYS_FSPICK                       = 433 | ||||
| 	SYS_PIDFD_OPEN                   = 434 | ||||
| 	SYS_CLONE3                       = 435 | ||||
| 	SYS_OPENAT2                      = 437 | ||||
| 	SYS_PIDFD_GETFD                  = 438 | ||||
| ) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -353,4 +353,6 @@ const ( | ||||
| 	SYS_FSPICK                 = 433 | ||||
| 	SYS_PIDFD_OPEN             = 434 | ||||
| 	SYS_CLONE3                 = 435 | ||||
| 	SYS_OPENAT2                = 437 | ||||
| 	SYS_PIDFD_GETFD            = 438 | ||||
| ) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -395,4 +395,6 @@ const ( | ||||
| 	SYS_FSPICK                       = 433 | ||||
| 	SYS_PIDFD_OPEN                   = 434 | ||||
| 	SYS_CLONE3                       = 435 | ||||
| 	SYS_OPENAT2                      = 437 | ||||
| 	SYS_PIDFD_GETFD                  = 438 | ||||
| ) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -298,4 +298,6 @@ const ( | ||||
| 	SYS_FSPICK                 = 433 | ||||
| 	SYS_PIDFD_OPEN             = 434 | ||||
| 	SYS_CLONE3                 = 435 | ||||
| 	SYS_OPENAT2                = 437 | ||||
| 	SYS_PIDFD_GETFD            = 438 | ||||
| ) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -416,4 +416,6 @@ const ( | ||||
| 	SYS_FSPICK                       = 4433 | ||||
| 	SYS_PIDFD_OPEN                   = 4434 | ||||
| 	SYS_CLONE3                       = 4435 | ||||
| 	SYS_OPENAT2                      = 4437 | ||||
| 	SYS_PIDFD_GETFD                  = 4438 | ||||
| ) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -346,4 +346,6 @@ const ( | ||||
| 	SYS_FSPICK                 = 5433 | ||||
| 	SYS_PIDFD_OPEN             = 5434 | ||||
| 	SYS_CLONE3                 = 5435 | ||||
| 	SYS_OPENAT2                = 5437 | ||||
| 	SYS_PIDFD_GETFD            = 5438 | ||||
| ) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -346,4 +346,6 @@ const ( | ||||
| 	SYS_FSPICK                 = 5433 | ||||
| 	SYS_PIDFD_OPEN             = 5434 | ||||
| 	SYS_CLONE3                 = 5435 | ||||
| 	SYS_OPENAT2                = 5437 | ||||
| 	SYS_PIDFD_GETFD            = 5438 | ||||
| ) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -416,4 +416,6 @@ const ( | ||||
| 	SYS_FSPICK                       = 4433 | ||||
| 	SYS_PIDFD_OPEN                   = 4434 | ||||
| 	SYS_CLONE3                       = 4435 | ||||
| 	SYS_OPENAT2                      = 4437 | ||||
| 	SYS_PIDFD_GETFD                  = 4438 | ||||
| ) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -395,4 +395,6 @@ const ( | ||||
| 	SYS_FSPICK                 = 433 | ||||
| 	SYS_PIDFD_OPEN             = 434 | ||||
| 	SYS_CLONE3                 = 435 | ||||
| 	SYS_OPENAT2                = 437 | ||||
| 	SYS_PIDFD_GETFD            = 438 | ||||
| ) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -395,4 +395,6 @@ const ( | ||||
| 	SYS_FSPICK                 = 433 | ||||
| 	SYS_PIDFD_OPEN             = 434 | ||||
| 	SYS_CLONE3                 = 435 | ||||
| 	SYS_OPENAT2                = 437 | ||||
| 	SYS_PIDFD_GETFD            = 438 | ||||
| ) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -297,4 +297,6 @@ const ( | ||||
| 	SYS_FSPICK                 = 433 | ||||
| 	SYS_PIDFD_OPEN             = 434 | ||||
| 	SYS_CLONE3                 = 435 | ||||
| 	SYS_OPENAT2                = 437 | ||||
| 	SYS_PIDFD_GETFD            = 438 | ||||
| ) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -360,4 +360,6 @@ const ( | ||||
| 	SYS_FSPICK                 = 433 | ||||
| 	SYS_PIDFD_OPEN             = 434 | ||||
| 	SYS_CLONE3                 = 435 | ||||
| 	SYS_OPENAT2                = 437 | ||||
| 	SYS_PIDFD_GETFD            = 438 | ||||
| ) | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -374,4 +374,6 @@ const ( | ||||
| 	SYS_FSMOUNT                = 432 | ||||
| 	SYS_FSPICK                 = 433 | ||||
| 	SYS_PIDFD_OPEN             = 434 | ||||
| 	SYS_OPENAT2                = 437 | ||||
| 	SYS_PIDFD_GETFD            = 438 | ||||
| ) | ||||
|   | ||||
							
								
								
									
										12
									
								
								vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -125,9 +125,9 @@ type Statfs_t struct { | ||||
| 	Owner       uint32 | ||||
| 	Fsid        Fsid | ||||
| 	Charspare   [80]int8 | ||||
| 	Fstypename  [16]int8 | ||||
| 	Mntfromname [1024]int8 | ||||
| 	Mntonname   [1024]int8 | ||||
| 	Fstypename  [16]byte | ||||
| 	Mntfromname [1024]byte | ||||
| 	Mntonname   [1024]byte | ||||
| } | ||||
|  | ||||
| type statfs_freebsd11_t struct { | ||||
| @@ -150,9 +150,9 @@ type statfs_freebsd11_t struct { | ||||
| 	Owner       uint32 | ||||
| 	Fsid        Fsid | ||||
| 	Charspare   [80]int8 | ||||
| 	Fstypename  [16]int8 | ||||
| 	Mntfromname [88]int8 | ||||
| 	Mntonname   [88]int8 | ||||
| 	Fstypename  [16]byte | ||||
| 	Mntfromname [88]byte | ||||
| 	Mntonname   [88]byte | ||||
| } | ||||
|  | ||||
| type Flock_t struct { | ||||
|   | ||||
							
								
								
									
										455
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										455
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -18,6 +18,11 @@ type ( | ||||
| 	_C_long_long int64 | ||||
| ) | ||||
|  | ||||
| type ItimerSpec struct { | ||||
| 	Interval Timespec | ||||
| 	Value    Timespec | ||||
| } | ||||
|  | ||||
| const ( | ||||
| 	TIME_OK    = 0x0 | ||||
| 	TIME_INS   = 0x1 | ||||
| @@ -114,7 +119,8 @@ type FscryptKeySpecifier struct { | ||||
| type FscryptAddKeyArg struct { | ||||
| 	Key_spec FscryptKeySpecifier | ||||
| 	Raw_size uint32 | ||||
| 	_        [9]uint32 | ||||
| 	Key_id   uint32 | ||||
| 	_        [8]uint32 | ||||
| } | ||||
|  | ||||
| type FscryptRemoveKeyArg struct { | ||||
| @@ -479,7 +485,7 @@ const ( | ||||
| 	IFLA_NEW_IFINDEX        = 0x31 | ||||
| 	IFLA_MIN_MTU            = 0x32 | ||||
| 	IFLA_MAX_MTU            = 0x33 | ||||
| 	IFLA_MAX                = 0x35 | ||||
| 	IFLA_MAX                = 0x36 | ||||
| 	IFLA_INFO_KIND          = 0x1 | ||||
| 	IFLA_INFO_DATA          = 0x2 | ||||
| 	IFLA_INFO_XSTATS        = 0x3 | ||||
| @@ -1865,175 +1871,249 @@ const ( | ||||
| ) | ||||
|  | ||||
| const ( | ||||
| 	BPF_REG_0                             = 0x0 | ||||
| 	BPF_REG_1                             = 0x1 | ||||
| 	BPF_REG_2                             = 0x2 | ||||
| 	BPF_REG_3                             = 0x3 | ||||
| 	BPF_REG_4                             = 0x4 | ||||
| 	BPF_REG_5                             = 0x5 | ||||
| 	BPF_REG_6                             = 0x6 | ||||
| 	BPF_REG_7                             = 0x7 | ||||
| 	BPF_REG_8                             = 0x8 | ||||
| 	BPF_REG_9                             = 0x9 | ||||
| 	BPF_REG_10                            = 0xa | ||||
| 	BPF_MAP_CREATE                        = 0x0 | ||||
| 	BPF_MAP_LOOKUP_ELEM                   = 0x1 | ||||
| 	BPF_MAP_UPDATE_ELEM                   = 0x2 | ||||
| 	BPF_MAP_DELETE_ELEM                   = 0x3 | ||||
| 	BPF_MAP_GET_NEXT_KEY                  = 0x4 | ||||
| 	BPF_PROG_LOAD                         = 0x5 | ||||
| 	BPF_OBJ_PIN                           = 0x6 | ||||
| 	BPF_OBJ_GET                           = 0x7 | ||||
| 	BPF_PROG_ATTACH                       = 0x8 | ||||
| 	BPF_PROG_DETACH                       = 0x9 | ||||
| 	BPF_PROG_TEST_RUN                     = 0xa | ||||
| 	BPF_PROG_GET_NEXT_ID                  = 0xb | ||||
| 	BPF_MAP_GET_NEXT_ID                   = 0xc | ||||
| 	BPF_PROG_GET_FD_BY_ID                 = 0xd | ||||
| 	BPF_MAP_GET_FD_BY_ID                  = 0xe | ||||
| 	BPF_OBJ_GET_INFO_BY_FD                = 0xf | ||||
| 	BPF_PROG_QUERY                        = 0x10 | ||||
| 	BPF_RAW_TRACEPOINT_OPEN               = 0x11 | ||||
| 	BPF_BTF_LOAD                          = 0x12 | ||||
| 	BPF_BTF_GET_FD_BY_ID                  = 0x13 | ||||
| 	BPF_TASK_FD_QUERY                     = 0x14 | ||||
| 	BPF_MAP_LOOKUP_AND_DELETE_ELEM        = 0x15 | ||||
| 	BPF_MAP_FREEZE                        = 0x16 | ||||
| 	BPF_BTF_GET_NEXT_ID                   = 0x17 | ||||
| 	BPF_MAP_TYPE_UNSPEC                   = 0x0 | ||||
| 	BPF_MAP_TYPE_HASH                     = 0x1 | ||||
| 	BPF_MAP_TYPE_ARRAY                    = 0x2 | ||||
| 	BPF_MAP_TYPE_PROG_ARRAY               = 0x3 | ||||
| 	BPF_MAP_TYPE_PERF_EVENT_ARRAY         = 0x4 | ||||
| 	BPF_MAP_TYPE_PERCPU_HASH              = 0x5 | ||||
| 	BPF_MAP_TYPE_PERCPU_ARRAY             = 0x6 | ||||
| 	BPF_MAP_TYPE_STACK_TRACE              = 0x7 | ||||
| 	BPF_MAP_TYPE_CGROUP_ARRAY             = 0x8 | ||||
| 	BPF_MAP_TYPE_LRU_HASH                 = 0x9 | ||||
| 	BPF_MAP_TYPE_LRU_PERCPU_HASH          = 0xa | ||||
| 	BPF_MAP_TYPE_LPM_TRIE                 = 0xb | ||||
| 	BPF_MAP_TYPE_ARRAY_OF_MAPS            = 0xc | ||||
| 	BPF_MAP_TYPE_HASH_OF_MAPS             = 0xd | ||||
| 	BPF_MAP_TYPE_DEVMAP                   = 0xe | ||||
| 	BPF_MAP_TYPE_SOCKMAP                  = 0xf | ||||
| 	BPF_MAP_TYPE_CPUMAP                   = 0x10 | ||||
| 	BPF_MAP_TYPE_XSKMAP                   = 0x11 | ||||
| 	BPF_MAP_TYPE_SOCKHASH                 = 0x12 | ||||
| 	BPF_MAP_TYPE_CGROUP_STORAGE           = 0x13 | ||||
| 	BPF_MAP_TYPE_REUSEPORT_SOCKARRAY      = 0x14 | ||||
| 	BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE    = 0x15 | ||||
| 	BPF_MAP_TYPE_QUEUE                    = 0x16 | ||||
| 	BPF_MAP_TYPE_STACK                    = 0x17 | ||||
| 	BPF_MAP_TYPE_SK_STORAGE               = 0x18 | ||||
| 	BPF_MAP_TYPE_DEVMAP_HASH              = 0x19 | ||||
| 	BPF_PROG_TYPE_UNSPEC                  = 0x0 | ||||
| 	BPF_PROG_TYPE_SOCKET_FILTER           = 0x1 | ||||
| 	BPF_PROG_TYPE_KPROBE                  = 0x2 | ||||
| 	BPF_PROG_TYPE_SCHED_CLS               = 0x3 | ||||
| 	BPF_PROG_TYPE_SCHED_ACT               = 0x4 | ||||
| 	BPF_PROG_TYPE_TRACEPOINT              = 0x5 | ||||
| 	BPF_PROG_TYPE_XDP                     = 0x6 | ||||
| 	BPF_PROG_TYPE_PERF_EVENT              = 0x7 | ||||
| 	BPF_PROG_TYPE_CGROUP_SKB              = 0x8 | ||||
| 	BPF_PROG_TYPE_CGROUP_SOCK             = 0x9 | ||||
| 	BPF_PROG_TYPE_LWT_IN                  = 0xa | ||||
| 	BPF_PROG_TYPE_LWT_OUT                 = 0xb | ||||
| 	BPF_PROG_TYPE_LWT_XMIT                = 0xc | ||||
| 	BPF_PROG_TYPE_SOCK_OPS                = 0xd | ||||
| 	BPF_PROG_TYPE_SK_SKB                  = 0xe | ||||
| 	BPF_PROG_TYPE_CGROUP_DEVICE           = 0xf | ||||
| 	BPF_PROG_TYPE_SK_MSG                  = 0x10 | ||||
| 	BPF_PROG_TYPE_RAW_TRACEPOINT          = 0x11 | ||||
| 	BPF_PROG_TYPE_CGROUP_SOCK_ADDR        = 0x12 | ||||
| 	BPF_PROG_TYPE_LWT_SEG6LOCAL           = 0x13 | ||||
| 	BPF_PROG_TYPE_LIRC_MODE2              = 0x14 | ||||
| 	BPF_PROG_TYPE_SK_REUSEPORT            = 0x15 | ||||
| 	BPF_PROG_TYPE_FLOW_DISSECTOR          = 0x16 | ||||
| 	BPF_PROG_TYPE_CGROUP_SYSCTL           = 0x17 | ||||
| 	BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE = 0x18 | ||||
| 	BPF_PROG_TYPE_CGROUP_SOCKOPT          = 0x19 | ||||
| 	BPF_PROG_TYPE_TRACING                 = 0x1a | ||||
| 	BPF_CGROUP_INET_INGRESS               = 0x0 | ||||
| 	BPF_CGROUP_INET_EGRESS                = 0x1 | ||||
| 	BPF_CGROUP_INET_SOCK_CREATE           = 0x2 | ||||
| 	BPF_CGROUP_SOCK_OPS                   = 0x3 | ||||
| 	BPF_SK_SKB_STREAM_PARSER              = 0x4 | ||||
| 	BPF_SK_SKB_STREAM_VERDICT             = 0x5 | ||||
| 	BPF_CGROUP_DEVICE                     = 0x6 | ||||
| 	BPF_SK_MSG_VERDICT                    = 0x7 | ||||
| 	BPF_CGROUP_INET4_BIND                 = 0x8 | ||||
| 	BPF_CGROUP_INET6_BIND                 = 0x9 | ||||
| 	BPF_CGROUP_INET4_CONNECT              = 0xa | ||||
| 	BPF_CGROUP_INET6_CONNECT              = 0xb | ||||
| 	BPF_CGROUP_INET4_POST_BIND            = 0xc | ||||
| 	BPF_CGROUP_INET6_POST_BIND            = 0xd | ||||
| 	BPF_CGROUP_UDP4_SENDMSG               = 0xe | ||||
| 	BPF_CGROUP_UDP6_SENDMSG               = 0xf | ||||
| 	BPF_LIRC_MODE2                        = 0x10 | ||||
| 	BPF_FLOW_DISSECTOR                    = 0x11 | ||||
| 	BPF_CGROUP_SYSCTL                     = 0x12 | ||||
| 	BPF_CGROUP_UDP4_RECVMSG               = 0x13 | ||||
| 	BPF_CGROUP_UDP6_RECVMSG               = 0x14 | ||||
| 	BPF_CGROUP_GETSOCKOPT                 = 0x15 | ||||
| 	BPF_CGROUP_SETSOCKOPT                 = 0x16 | ||||
| 	BPF_TRACE_RAW_TP                      = 0x17 | ||||
| 	BPF_TRACE_FENTRY                      = 0x18 | ||||
| 	BPF_TRACE_FEXIT                       = 0x19 | ||||
| 	BPF_STACK_BUILD_ID_EMPTY              = 0x0 | ||||
| 	BPF_STACK_BUILD_ID_VALID              = 0x1 | ||||
| 	BPF_STACK_BUILD_ID_IP                 = 0x2 | ||||
| 	BPF_ADJ_ROOM_NET                      = 0x0 | ||||
| 	BPF_ADJ_ROOM_MAC                      = 0x1 | ||||
| 	BPF_HDR_START_MAC                     = 0x0 | ||||
| 	BPF_HDR_START_NET                     = 0x1 | ||||
| 	BPF_LWT_ENCAP_SEG6                    = 0x0 | ||||
| 	BPF_LWT_ENCAP_SEG6_INLINE             = 0x1 | ||||
| 	BPF_LWT_ENCAP_IP                      = 0x2 | ||||
| 	BPF_OK                                = 0x0 | ||||
| 	BPF_DROP                              = 0x2 | ||||
| 	BPF_REDIRECT                          = 0x7 | ||||
| 	BPF_LWT_REROUTE                       = 0x80 | ||||
| 	BPF_SOCK_OPS_VOID                     = 0x0 | ||||
| 	BPF_SOCK_OPS_TIMEOUT_INIT             = 0x1 | ||||
| 	BPF_SOCK_OPS_RWND_INIT                = 0x2 | ||||
| 	BPF_SOCK_OPS_TCP_CONNECT_CB           = 0x3 | ||||
| 	BPF_SOCK_OPS_ACTIVE_ESTABLISHED_CB    = 0x4 | ||||
| 	BPF_SOCK_OPS_PASSIVE_ESTABLISHED_CB   = 0x5 | ||||
| 	BPF_SOCK_OPS_NEEDS_ECN                = 0x6 | ||||
| 	BPF_SOCK_OPS_BASE_RTT                 = 0x7 | ||||
| 	BPF_SOCK_OPS_RTO_CB                   = 0x8 | ||||
| 	BPF_SOCK_OPS_RETRANS_CB               = 0x9 | ||||
| 	BPF_SOCK_OPS_STATE_CB                 = 0xa | ||||
| 	BPF_SOCK_OPS_TCP_LISTEN_CB            = 0xb | ||||
| 	BPF_SOCK_OPS_RTT_CB                   = 0xc | ||||
| 	BPF_TCP_ESTABLISHED                   = 0x1 | ||||
| 	BPF_TCP_SYN_SENT                      = 0x2 | ||||
| 	BPF_TCP_SYN_RECV                      = 0x3 | ||||
| 	BPF_TCP_FIN_WAIT1                     = 0x4 | ||||
| 	BPF_TCP_FIN_WAIT2                     = 0x5 | ||||
| 	BPF_TCP_TIME_WAIT                     = 0x6 | ||||
| 	BPF_TCP_CLOSE                         = 0x7 | ||||
| 	BPF_TCP_CLOSE_WAIT                    = 0x8 | ||||
| 	BPF_TCP_LAST_ACK                      = 0x9 | ||||
| 	BPF_TCP_LISTEN                        = 0xa | ||||
| 	BPF_TCP_CLOSING                       = 0xb | ||||
| 	BPF_TCP_NEW_SYN_RECV                  = 0xc | ||||
| 	BPF_TCP_MAX_STATES                    = 0xd | ||||
| 	BPF_FIB_LKUP_RET_SUCCESS              = 0x0 | ||||
| 	BPF_FIB_LKUP_RET_BLACKHOLE            = 0x1 | ||||
| 	BPF_FIB_LKUP_RET_UNREACHABLE          = 0x2 | ||||
| 	BPF_FIB_LKUP_RET_PROHIBIT             = 0x3 | ||||
| 	BPF_FIB_LKUP_RET_NOT_FWDED            = 0x4 | ||||
| 	BPF_FIB_LKUP_RET_FWD_DISABLED         = 0x5 | ||||
| 	BPF_FIB_LKUP_RET_UNSUPP_LWT           = 0x6 | ||||
| 	BPF_FIB_LKUP_RET_NO_NEIGH             = 0x7 | ||||
| 	BPF_FIB_LKUP_RET_FRAG_NEEDED          = 0x8 | ||||
| 	BPF_FD_TYPE_RAW_TRACEPOINT            = 0x0 | ||||
| 	BPF_FD_TYPE_TRACEPOINT                = 0x1 | ||||
| 	BPF_FD_TYPE_KPROBE                    = 0x2 | ||||
| 	BPF_FD_TYPE_KRETPROBE                 = 0x3 | ||||
| 	BPF_FD_TYPE_UPROBE                    = 0x4 | ||||
| 	BPF_FD_TYPE_URETPROBE                 = 0x5 | ||||
| 	BPF_REG_0                               = 0x0 | ||||
| 	BPF_REG_1                               = 0x1 | ||||
| 	BPF_REG_2                               = 0x2 | ||||
| 	BPF_REG_3                               = 0x3 | ||||
| 	BPF_REG_4                               = 0x4 | ||||
| 	BPF_REG_5                               = 0x5 | ||||
| 	BPF_REG_6                               = 0x6 | ||||
| 	BPF_REG_7                               = 0x7 | ||||
| 	BPF_REG_8                               = 0x8 | ||||
| 	BPF_REG_9                               = 0x9 | ||||
| 	BPF_REG_10                              = 0xa | ||||
| 	BPF_MAP_CREATE                          = 0x0 | ||||
| 	BPF_MAP_LOOKUP_ELEM                     = 0x1 | ||||
| 	BPF_MAP_UPDATE_ELEM                     = 0x2 | ||||
| 	BPF_MAP_DELETE_ELEM                     = 0x3 | ||||
| 	BPF_MAP_GET_NEXT_KEY                    = 0x4 | ||||
| 	BPF_PROG_LOAD                           = 0x5 | ||||
| 	BPF_OBJ_PIN                             = 0x6 | ||||
| 	BPF_OBJ_GET                             = 0x7 | ||||
| 	BPF_PROG_ATTACH                         = 0x8 | ||||
| 	BPF_PROG_DETACH                         = 0x9 | ||||
| 	BPF_PROG_TEST_RUN                       = 0xa | ||||
| 	BPF_PROG_GET_NEXT_ID                    = 0xb | ||||
| 	BPF_MAP_GET_NEXT_ID                     = 0xc | ||||
| 	BPF_PROG_GET_FD_BY_ID                   = 0xd | ||||
| 	BPF_MAP_GET_FD_BY_ID                    = 0xe | ||||
| 	BPF_OBJ_GET_INFO_BY_FD                  = 0xf | ||||
| 	BPF_PROG_QUERY                          = 0x10 | ||||
| 	BPF_RAW_TRACEPOINT_OPEN                 = 0x11 | ||||
| 	BPF_BTF_LOAD                            = 0x12 | ||||
| 	BPF_BTF_GET_FD_BY_ID                    = 0x13 | ||||
| 	BPF_TASK_FD_QUERY                       = 0x14 | ||||
| 	BPF_MAP_LOOKUP_AND_DELETE_ELEM          = 0x15 | ||||
| 	BPF_MAP_FREEZE                          = 0x16 | ||||
| 	BPF_BTF_GET_NEXT_ID                     = 0x17 | ||||
| 	BPF_MAP_LOOKUP_BATCH                    = 0x18 | ||||
| 	BPF_MAP_LOOKUP_AND_DELETE_BATCH         = 0x19 | ||||
| 	BPF_MAP_UPDATE_BATCH                    = 0x1a | ||||
| 	BPF_MAP_DELETE_BATCH                    = 0x1b | ||||
| 	BPF_LINK_CREATE                         = 0x1c | ||||
| 	BPF_LINK_UPDATE                         = 0x1d | ||||
| 	BPF_MAP_TYPE_UNSPEC                     = 0x0 | ||||
| 	BPF_MAP_TYPE_HASH                       = 0x1 | ||||
| 	BPF_MAP_TYPE_ARRAY                      = 0x2 | ||||
| 	BPF_MAP_TYPE_PROG_ARRAY                 = 0x3 | ||||
| 	BPF_MAP_TYPE_PERF_EVENT_ARRAY           = 0x4 | ||||
| 	BPF_MAP_TYPE_PERCPU_HASH                = 0x5 | ||||
| 	BPF_MAP_TYPE_PERCPU_ARRAY               = 0x6 | ||||
| 	BPF_MAP_TYPE_STACK_TRACE                = 0x7 | ||||
| 	BPF_MAP_TYPE_CGROUP_ARRAY               = 0x8 | ||||
| 	BPF_MAP_TYPE_LRU_HASH                   = 0x9 | ||||
| 	BPF_MAP_TYPE_LRU_PERCPU_HASH            = 0xa | ||||
| 	BPF_MAP_TYPE_LPM_TRIE                   = 0xb | ||||
| 	BPF_MAP_TYPE_ARRAY_OF_MAPS              = 0xc | ||||
| 	BPF_MAP_TYPE_HASH_OF_MAPS               = 0xd | ||||
| 	BPF_MAP_TYPE_DEVMAP                     = 0xe | ||||
| 	BPF_MAP_TYPE_SOCKMAP                    = 0xf | ||||
| 	BPF_MAP_TYPE_CPUMAP                     = 0x10 | ||||
| 	BPF_MAP_TYPE_XSKMAP                     = 0x11 | ||||
| 	BPF_MAP_TYPE_SOCKHASH                   = 0x12 | ||||
| 	BPF_MAP_TYPE_CGROUP_STORAGE             = 0x13 | ||||
| 	BPF_MAP_TYPE_REUSEPORT_SOCKARRAY        = 0x14 | ||||
| 	BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE      = 0x15 | ||||
| 	BPF_MAP_TYPE_QUEUE                      = 0x16 | ||||
| 	BPF_MAP_TYPE_STACK                      = 0x17 | ||||
| 	BPF_MAP_TYPE_SK_STORAGE                 = 0x18 | ||||
| 	BPF_MAP_TYPE_DEVMAP_HASH                = 0x19 | ||||
| 	BPF_MAP_TYPE_STRUCT_OPS                 = 0x1a | ||||
| 	BPF_PROG_TYPE_UNSPEC                    = 0x0 | ||||
| 	BPF_PROG_TYPE_SOCKET_FILTER             = 0x1 | ||||
| 	BPF_PROG_TYPE_KPROBE                    = 0x2 | ||||
| 	BPF_PROG_TYPE_SCHED_CLS                 = 0x3 | ||||
| 	BPF_PROG_TYPE_SCHED_ACT                 = 0x4 | ||||
| 	BPF_PROG_TYPE_TRACEPOINT                = 0x5 | ||||
| 	BPF_PROG_TYPE_XDP                       = 0x6 | ||||
| 	BPF_PROG_TYPE_PERF_EVENT                = 0x7 | ||||
| 	BPF_PROG_TYPE_CGROUP_SKB                = 0x8 | ||||
| 	BPF_PROG_TYPE_CGROUP_SOCK               = 0x9 | ||||
| 	BPF_PROG_TYPE_LWT_IN                    = 0xa | ||||
| 	BPF_PROG_TYPE_LWT_OUT                   = 0xb | ||||
| 	BPF_PROG_TYPE_LWT_XMIT                  = 0xc | ||||
| 	BPF_PROG_TYPE_SOCK_OPS                  = 0xd | ||||
| 	BPF_PROG_TYPE_SK_SKB                    = 0xe | ||||
| 	BPF_PROG_TYPE_CGROUP_DEVICE             = 0xf | ||||
| 	BPF_PROG_TYPE_SK_MSG                    = 0x10 | ||||
| 	BPF_PROG_TYPE_RAW_TRACEPOINT            = 0x11 | ||||
| 	BPF_PROG_TYPE_CGROUP_SOCK_ADDR          = 0x12 | ||||
| 	BPF_PROG_TYPE_LWT_SEG6LOCAL             = 0x13 | ||||
| 	BPF_PROG_TYPE_LIRC_MODE2                = 0x14 | ||||
| 	BPF_PROG_TYPE_SK_REUSEPORT              = 0x15 | ||||
| 	BPF_PROG_TYPE_FLOW_DISSECTOR            = 0x16 | ||||
| 	BPF_PROG_TYPE_CGROUP_SYSCTL             = 0x17 | ||||
| 	BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE   = 0x18 | ||||
| 	BPF_PROG_TYPE_CGROUP_SOCKOPT            = 0x19 | ||||
| 	BPF_PROG_TYPE_TRACING                   = 0x1a | ||||
| 	BPF_PROG_TYPE_STRUCT_OPS                = 0x1b | ||||
| 	BPF_PROG_TYPE_EXT                       = 0x1c | ||||
| 	BPF_PROG_TYPE_LSM                       = 0x1d | ||||
| 	BPF_CGROUP_INET_INGRESS                 = 0x0 | ||||
| 	BPF_CGROUP_INET_EGRESS                  = 0x1 | ||||
| 	BPF_CGROUP_INET_SOCK_CREATE             = 0x2 | ||||
| 	BPF_CGROUP_SOCK_OPS                     = 0x3 | ||||
| 	BPF_SK_SKB_STREAM_PARSER                = 0x4 | ||||
| 	BPF_SK_SKB_STREAM_VERDICT               = 0x5 | ||||
| 	BPF_CGROUP_DEVICE                       = 0x6 | ||||
| 	BPF_SK_MSG_VERDICT                      = 0x7 | ||||
| 	BPF_CGROUP_INET4_BIND                   = 0x8 | ||||
| 	BPF_CGROUP_INET6_BIND                   = 0x9 | ||||
| 	BPF_CGROUP_INET4_CONNECT                = 0xa | ||||
| 	BPF_CGROUP_INET6_CONNECT                = 0xb | ||||
| 	BPF_CGROUP_INET4_POST_BIND              = 0xc | ||||
| 	BPF_CGROUP_INET6_POST_BIND              = 0xd | ||||
| 	BPF_CGROUP_UDP4_SENDMSG                 = 0xe | ||||
| 	BPF_CGROUP_UDP6_SENDMSG                 = 0xf | ||||
| 	BPF_LIRC_MODE2                          = 0x10 | ||||
| 	BPF_FLOW_DISSECTOR                      = 0x11 | ||||
| 	BPF_CGROUP_SYSCTL                       = 0x12 | ||||
| 	BPF_CGROUP_UDP4_RECVMSG                 = 0x13 | ||||
| 	BPF_CGROUP_UDP6_RECVMSG                 = 0x14 | ||||
| 	BPF_CGROUP_GETSOCKOPT                   = 0x15 | ||||
| 	BPF_CGROUP_SETSOCKOPT                   = 0x16 | ||||
| 	BPF_TRACE_RAW_TP                        = 0x17 | ||||
| 	BPF_TRACE_FENTRY                        = 0x18 | ||||
| 	BPF_TRACE_FEXIT                         = 0x19 | ||||
| 	BPF_MODIFY_RETURN                       = 0x1a | ||||
| 	BPF_LSM_MAC                             = 0x1b | ||||
| 	BPF_ANY                                 = 0x0 | ||||
| 	BPF_NOEXIST                             = 0x1 | ||||
| 	BPF_EXIST                               = 0x2 | ||||
| 	BPF_F_LOCK                              = 0x4 | ||||
| 	BPF_F_NO_PREALLOC                       = 0x1 | ||||
| 	BPF_F_NO_COMMON_LRU                     = 0x2 | ||||
| 	BPF_F_NUMA_NODE                         = 0x4 | ||||
| 	BPF_F_RDONLY                            = 0x8 | ||||
| 	BPF_F_WRONLY                            = 0x10 | ||||
| 	BPF_F_STACK_BUILD_ID                    = 0x20 | ||||
| 	BPF_F_ZERO_SEED                         = 0x40 | ||||
| 	BPF_F_RDONLY_PROG                       = 0x80 | ||||
| 	BPF_F_WRONLY_PROG                       = 0x100 | ||||
| 	BPF_F_CLONE                             = 0x200 | ||||
| 	BPF_F_MMAPABLE                          = 0x400 | ||||
| 	BPF_STACK_BUILD_ID_EMPTY                = 0x0 | ||||
| 	BPF_STACK_BUILD_ID_VALID                = 0x1 | ||||
| 	BPF_STACK_BUILD_ID_IP                   = 0x2 | ||||
| 	BPF_F_RECOMPUTE_CSUM                    = 0x1 | ||||
| 	BPF_F_INVALIDATE_HASH                   = 0x2 | ||||
| 	BPF_F_HDR_FIELD_MASK                    = 0xf | ||||
| 	BPF_F_PSEUDO_HDR                        = 0x10 | ||||
| 	BPF_F_MARK_MANGLED_0                    = 0x20 | ||||
| 	BPF_F_MARK_ENFORCE                      = 0x40 | ||||
| 	BPF_F_INGRESS                           = 0x1 | ||||
| 	BPF_F_TUNINFO_IPV6                      = 0x1 | ||||
| 	BPF_F_SKIP_FIELD_MASK                   = 0xff | ||||
| 	BPF_F_USER_STACK                        = 0x100 | ||||
| 	BPF_F_FAST_STACK_CMP                    = 0x200 | ||||
| 	BPF_F_REUSE_STACKID                     = 0x400 | ||||
| 	BPF_F_USER_BUILD_ID                     = 0x800 | ||||
| 	BPF_F_ZERO_CSUM_TX                      = 0x2 | ||||
| 	BPF_F_DONT_FRAGMENT                     = 0x4 | ||||
| 	BPF_F_SEQ_NUMBER                        = 0x8 | ||||
| 	BPF_F_INDEX_MASK                        = 0xffffffff | ||||
| 	BPF_F_CURRENT_CPU                       = 0xffffffff | ||||
| 	BPF_F_CTXLEN_MASK                       = 0xfffff00000000 | ||||
| 	BPF_F_CURRENT_NETNS                     = -0x1 | ||||
| 	BPF_F_ADJ_ROOM_FIXED_GSO                = 0x1 | ||||
| 	BPF_F_ADJ_ROOM_ENCAP_L3_IPV4            = 0x2 | ||||
| 	BPF_F_ADJ_ROOM_ENCAP_L3_IPV6            = 0x4 | ||||
| 	BPF_F_ADJ_ROOM_ENCAP_L4_GRE             = 0x8 | ||||
| 	BPF_F_ADJ_ROOM_ENCAP_L4_UDP             = 0x10 | ||||
| 	BPF_ADJ_ROOM_ENCAP_L2_MASK              = 0xff | ||||
| 	BPF_ADJ_ROOM_ENCAP_L2_SHIFT             = 0x38 | ||||
| 	BPF_F_SYSCTL_BASE_NAME                  = 0x1 | ||||
| 	BPF_SK_STORAGE_GET_F_CREATE             = 0x1 | ||||
| 	BPF_F_GET_BRANCH_RECORDS_SIZE           = 0x1 | ||||
| 	BPF_ADJ_ROOM_NET                        = 0x0 | ||||
| 	BPF_ADJ_ROOM_MAC                        = 0x1 | ||||
| 	BPF_HDR_START_MAC                       = 0x0 | ||||
| 	BPF_HDR_START_NET                       = 0x1 | ||||
| 	BPF_LWT_ENCAP_SEG6                      = 0x0 | ||||
| 	BPF_LWT_ENCAP_SEG6_INLINE               = 0x1 | ||||
| 	BPF_LWT_ENCAP_IP                        = 0x2 | ||||
| 	BPF_OK                                  = 0x0 | ||||
| 	BPF_DROP                                = 0x2 | ||||
| 	BPF_REDIRECT                            = 0x7 | ||||
| 	BPF_LWT_REROUTE                         = 0x80 | ||||
| 	BPF_SOCK_OPS_RTO_CB_FLAG                = 0x1 | ||||
| 	BPF_SOCK_OPS_RETRANS_CB_FLAG            = 0x2 | ||||
| 	BPF_SOCK_OPS_STATE_CB_FLAG              = 0x4 | ||||
| 	BPF_SOCK_OPS_RTT_CB_FLAG                = 0x8 | ||||
| 	BPF_SOCK_OPS_ALL_CB_FLAGS               = 0xf | ||||
| 	BPF_SOCK_OPS_VOID                       = 0x0 | ||||
| 	BPF_SOCK_OPS_TIMEOUT_INIT               = 0x1 | ||||
| 	BPF_SOCK_OPS_RWND_INIT                  = 0x2 | ||||
| 	BPF_SOCK_OPS_TCP_CONNECT_CB             = 0x3 | ||||
| 	BPF_SOCK_OPS_ACTIVE_ESTABLISHED_CB      = 0x4 | ||||
| 	BPF_SOCK_OPS_PASSIVE_ESTABLISHED_CB     = 0x5 | ||||
| 	BPF_SOCK_OPS_NEEDS_ECN                  = 0x6 | ||||
| 	BPF_SOCK_OPS_BASE_RTT                   = 0x7 | ||||
| 	BPF_SOCK_OPS_RTO_CB                     = 0x8 | ||||
| 	BPF_SOCK_OPS_RETRANS_CB                 = 0x9 | ||||
| 	BPF_SOCK_OPS_STATE_CB                   = 0xa | ||||
| 	BPF_SOCK_OPS_TCP_LISTEN_CB              = 0xb | ||||
| 	BPF_SOCK_OPS_RTT_CB                     = 0xc | ||||
| 	BPF_TCP_ESTABLISHED                     = 0x1 | ||||
| 	BPF_TCP_SYN_SENT                        = 0x2 | ||||
| 	BPF_TCP_SYN_RECV                        = 0x3 | ||||
| 	BPF_TCP_FIN_WAIT1                       = 0x4 | ||||
| 	BPF_TCP_FIN_WAIT2                       = 0x5 | ||||
| 	BPF_TCP_TIME_WAIT                       = 0x6 | ||||
| 	BPF_TCP_CLOSE                           = 0x7 | ||||
| 	BPF_TCP_CLOSE_WAIT                      = 0x8 | ||||
| 	BPF_TCP_LAST_ACK                        = 0x9 | ||||
| 	BPF_TCP_LISTEN                          = 0xa | ||||
| 	BPF_TCP_CLOSING                         = 0xb | ||||
| 	BPF_TCP_NEW_SYN_RECV                    = 0xc | ||||
| 	BPF_TCP_MAX_STATES                      = 0xd | ||||
| 	TCP_BPF_IW                              = 0x3e9 | ||||
| 	TCP_BPF_SNDCWND_CLAMP                   = 0x3ea | ||||
| 	BPF_DEVCG_ACC_MKNOD                     = 0x1 | ||||
| 	BPF_DEVCG_ACC_READ                      = 0x2 | ||||
| 	BPF_DEVCG_ACC_WRITE                     = 0x4 | ||||
| 	BPF_DEVCG_DEV_BLOCK                     = 0x1 | ||||
| 	BPF_DEVCG_DEV_CHAR                      = 0x2 | ||||
| 	BPF_FIB_LOOKUP_DIRECT                   = 0x1 | ||||
| 	BPF_FIB_LOOKUP_OUTPUT                   = 0x2 | ||||
| 	BPF_FIB_LKUP_RET_SUCCESS                = 0x0 | ||||
| 	BPF_FIB_LKUP_RET_BLACKHOLE              = 0x1 | ||||
| 	BPF_FIB_LKUP_RET_UNREACHABLE            = 0x2 | ||||
| 	BPF_FIB_LKUP_RET_PROHIBIT               = 0x3 | ||||
| 	BPF_FIB_LKUP_RET_NOT_FWDED              = 0x4 | ||||
| 	BPF_FIB_LKUP_RET_FWD_DISABLED           = 0x5 | ||||
| 	BPF_FIB_LKUP_RET_UNSUPP_LWT             = 0x6 | ||||
| 	BPF_FIB_LKUP_RET_NO_NEIGH               = 0x7 | ||||
| 	BPF_FIB_LKUP_RET_FRAG_NEEDED            = 0x8 | ||||
| 	BPF_FD_TYPE_RAW_TRACEPOINT              = 0x0 | ||||
| 	BPF_FD_TYPE_TRACEPOINT                  = 0x1 | ||||
| 	BPF_FD_TYPE_KPROBE                      = 0x2 | ||||
| 	BPF_FD_TYPE_KRETPROBE                   = 0x3 | ||||
| 	BPF_FD_TYPE_UPROBE                      = 0x4 | ||||
| 	BPF_FD_TYPE_URETPROBE                   = 0x5 | ||||
| 	BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG     = 0x1 | ||||
| 	BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL = 0x2 | ||||
| 	BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP      = 0x4 | ||||
| ) | ||||
|  | ||||
| const ( | ||||
| @@ -2199,7 +2279,7 @@ const ( | ||||
| 	DEVLINK_CMD_DPIPE_ENTRIES_GET             = 0x20 | ||||
| 	DEVLINK_CMD_DPIPE_HEADERS_GET             = 0x21 | ||||
| 	DEVLINK_CMD_DPIPE_TABLE_COUNTERS_SET      = 0x22 | ||||
| 	DEVLINK_CMD_MAX                           = 0x44 | ||||
| 	DEVLINK_CMD_MAX                           = 0x48 | ||||
| 	DEVLINK_PORT_TYPE_NOTSET                  = 0x0 | ||||
| 	DEVLINK_PORT_TYPE_AUTO                    = 0x1 | ||||
| 	DEVLINK_PORT_TYPE_ETH                     = 0x2 | ||||
| @@ -2279,7 +2359,7 @@ const ( | ||||
| 	DEVLINK_ATTR_DPIPE_FIELD_MAPPING_TYPE     = 0x3c | ||||
| 	DEVLINK_ATTR_PAD                          = 0x3d | ||||
| 	DEVLINK_ATTR_ESWITCH_ENCAP_MODE           = 0x3e | ||||
| 	DEVLINK_ATTR_MAX                          = 0x8c | ||||
| 	DEVLINK_ATTR_MAX                          = 0x90 | ||||
| 	DEVLINK_DPIPE_FIELD_MAPPING_TYPE_NONE     = 0x0 | ||||
| 	DEVLINK_DPIPE_FIELD_MAPPING_TYPE_IFINDEX  = 0x1 | ||||
| 	DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT      = 0x0 | ||||
| @@ -2308,3 +2388,32 @@ type FsverityEnableArg struct { | ||||
| 	Sig_ptr        uint64 | ||||
| 	_              [11]uint64 | ||||
| } | ||||
|  | ||||
| type Nhmsg struct { | ||||
| 	Family   uint8 | ||||
| 	Scope    uint8 | ||||
| 	Protocol uint8 | ||||
| 	Resvd    uint8 | ||||
| 	Flags    uint32 | ||||
| } | ||||
|  | ||||
| type NexthopGrp struct { | ||||
| 	Id     uint32 | ||||
| 	Weight uint8 | ||||
| 	Resvd1 uint8 | ||||
| 	Resvd2 uint16 | ||||
| } | ||||
|  | ||||
| const ( | ||||
| 	NHA_UNSPEC     = 0x0 | ||||
| 	NHA_ID         = 0x1 | ||||
| 	NHA_GROUP      = 0x2 | ||||
| 	NHA_GROUP_TYPE = 0x3 | ||||
| 	NHA_BLACKHOLE  = 0x4 | ||||
| 	NHA_OIF        = 0x5 | ||||
| 	NHA_GATEWAY    = 0x6 | ||||
| 	NHA_ENCAP_TYPE = 0x7 | ||||
| 	NHA_ENCAP      = 0x8 | ||||
| 	NHA_GROUPS     = 0x9 | ||||
| 	NHA_MASTER     = 0xa | ||||
| ) | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_386.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_386.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -287,6 +287,7 @@ type Taskstats struct { | ||||
| 	Freepages_delay_total     uint64 | ||||
| 	Thrashing_count           uint64 | ||||
| 	Thrashing_delay_total     uint64 | ||||
| 	Ac_btime64                uint64 | ||||
| } | ||||
|  | ||||
| type cpuMask uint32 | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -298,6 +298,7 @@ type Taskstats struct { | ||||
| 	Freepages_delay_total     uint64 | ||||
| 	Thrashing_count           uint64 | ||||
| 	Thrashing_delay_total     uint64 | ||||
| 	Ac_btime64                uint64 | ||||
| } | ||||
|  | ||||
| type cpuMask uint64 | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -276,6 +276,7 @@ type Taskstats struct { | ||||
| 	Freepages_delay_total     uint64 | ||||
| 	Thrashing_count           uint64 | ||||
| 	Thrashing_delay_total     uint64 | ||||
| 	Ac_btime64                uint64 | ||||
| } | ||||
|  | ||||
| type cpuMask uint32 | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -277,6 +277,7 @@ type Taskstats struct { | ||||
| 	Freepages_delay_total     uint64 | ||||
| 	Thrashing_count           uint64 | ||||
| 	Thrashing_delay_total     uint64 | ||||
| 	Ac_btime64                uint64 | ||||
| } | ||||
|  | ||||
| type cpuMask uint64 | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_mips.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_mips.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -281,6 +281,7 @@ type Taskstats struct { | ||||
| 	Freepages_delay_total     uint64 | ||||
| 	Thrashing_count           uint64 | ||||
| 	Thrashing_delay_total     uint64 | ||||
| 	Ac_btime64                uint64 | ||||
| } | ||||
|  | ||||
| type cpuMask uint32 | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -280,6 +280,7 @@ type Taskstats struct { | ||||
| 	Freepages_delay_total     uint64 | ||||
| 	Thrashing_count           uint64 | ||||
| 	Thrashing_delay_total     uint64 | ||||
| 	Ac_btime64                uint64 | ||||
| } | ||||
|  | ||||
| type cpuMask uint64 | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -280,6 +280,7 @@ type Taskstats struct { | ||||
| 	Freepages_delay_total     uint64 | ||||
| 	Thrashing_count           uint64 | ||||
| 	Thrashing_delay_total     uint64 | ||||
| 	Ac_btime64                uint64 | ||||
| } | ||||
|  | ||||
| type cpuMask uint64 | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -281,6 +281,7 @@ type Taskstats struct { | ||||
| 	Freepages_delay_total     uint64 | ||||
| 	Thrashing_count           uint64 | ||||
| 	Thrashing_delay_total     uint64 | ||||
| 	Ac_btime64                uint64 | ||||
| } | ||||
|  | ||||
| type cpuMask uint32 | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -287,6 +287,7 @@ type Taskstats struct { | ||||
| 	Freepages_delay_total     uint64 | ||||
| 	Thrashing_count           uint64 | ||||
| 	Thrashing_delay_total     uint64 | ||||
| 	Ac_btime64                uint64 | ||||
| } | ||||
|  | ||||
| type cpuMask uint64 | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -287,6 +287,7 @@ type Taskstats struct { | ||||
| 	Freepages_delay_total     uint64 | ||||
| 	Thrashing_count           uint64 | ||||
| 	Thrashing_delay_total     uint64 | ||||
| 	Ac_btime64                uint64 | ||||
| } | ||||
|  | ||||
| type cpuMask uint64 | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -305,6 +305,7 @@ type Taskstats struct { | ||||
| 	Freepages_delay_total     uint64 | ||||
| 	Thrashing_count           uint64 | ||||
| 	Thrashing_delay_total     uint64 | ||||
| 	Ac_btime64                uint64 | ||||
| } | ||||
|  | ||||
| type cpuMask uint64 | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -300,6 +300,7 @@ type Taskstats struct { | ||||
| 	Freepages_delay_total     uint64 | ||||
| 	Thrashing_count           uint64 | ||||
| 	Thrashing_delay_total     uint64 | ||||
| 	Ac_btime64                uint64 | ||||
| } | ||||
|  | ||||
| type cpuMask uint64 | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -282,6 +282,7 @@ type Taskstats struct { | ||||
| 	Freepages_delay_total     uint64 | ||||
| 	Thrashing_count           uint64 | ||||
| 	Thrashing_delay_total     uint64 | ||||
| 	Ac_btime64                uint64 | ||||
| } | ||||
|  | ||||
| type cpuMask uint64 | ||||
|   | ||||
							
								
								
									
										29
									
								
								vendor/golang.org/x/sys/windows/dll_windows.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										29
									
								
								vendor/golang.org/x/sys/windows/dll_windows.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -104,6 +104,35 @@ func (d *DLL) MustFindProc(name string) *Proc { | ||||
| 	return p | ||||
| } | ||||
|  | ||||
| // FindProcByOrdinal searches DLL d for procedure by ordinal and returns *Proc | ||||
| // if found. It returns an error if search fails. | ||||
| func (d *DLL) FindProcByOrdinal(ordinal uintptr) (proc *Proc, err error) { | ||||
| 	a, e := GetProcAddressByOrdinal(d.Handle, ordinal) | ||||
| 	name := "#" + itoa(int(ordinal)) | ||||
| 	if e != nil { | ||||
| 		return nil, &DLLError{ | ||||
| 			Err:     e, | ||||
| 			ObjName: name, | ||||
| 			Msg:     "Failed to find " + name + " procedure in " + d.Name + ": " + e.Error(), | ||||
| 		} | ||||
| 	} | ||||
| 	p := &Proc{ | ||||
| 		Dll:  d, | ||||
| 		Name: name, | ||||
| 		addr: a, | ||||
| 	} | ||||
| 	return p, nil | ||||
| } | ||||
|  | ||||
| // MustFindProcByOrdinal is like FindProcByOrdinal but panics if search fails. | ||||
| func (d *DLL) MustFindProcByOrdinal(ordinal uintptr) *Proc { | ||||
| 	p, e := d.FindProcByOrdinal(ordinal) | ||||
| 	if e != nil { | ||||
| 		panic(e) | ||||
| 	} | ||||
| 	return p | ||||
| } | ||||
|  | ||||
| // Release unloads DLL d from memory. | ||||
| func (d *DLL) Release() (err error) { | ||||
| 	return FreeLibrary(d.Handle) | ||||
|   | ||||
							
								
								
									
										11
									
								
								vendor/golang.org/x/sys/windows/env_windows.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								vendor/golang.org/x/sys/windows/env_windows.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -8,7 +8,6 @@ package windows | ||||
|  | ||||
| import ( | ||||
| 	"syscall" | ||||
| 	"unicode/utf16" | ||||
| 	"unsafe" | ||||
| ) | ||||
|  | ||||
| @@ -40,17 +39,11 @@ func (token Token) Environ(inheritExisting bool) (env []string, err error) { | ||||
| 	defer DestroyEnvironmentBlock(block) | ||||
| 	blockp := uintptr(unsafe.Pointer(block)) | ||||
| 	for { | ||||
| 		entry := (*[(1 << 30) - 1]uint16)(unsafe.Pointer(blockp))[:] | ||||
| 		for i, v := range entry { | ||||
| 			if v == 0 { | ||||
| 				entry = entry[:i] | ||||
| 				break | ||||
| 			} | ||||
| 		} | ||||
| 		entry := UTF16PtrToString((*uint16)(unsafe.Pointer(blockp))) | ||||
| 		if len(entry) == 0 { | ||||
| 			break | ||||
| 		} | ||||
| 		env = append(env, string(utf16.Decode(entry))) | ||||
| 		env = append(env, entry) | ||||
| 		blockp += 2 * (uintptr(len(entry)) + 1) | ||||
| 	} | ||||
| 	return env, nil | ||||
|   | ||||
							
								
								
									
										5
									
								
								vendor/golang.org/x/sys/windows/memory_windows.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								vendor/golang.org/x/sys/windows/memory_windows.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -23,4 +23,9 @@ const ( | ||||
| 	PAGE_EXECUTE_READ      = 0x20 | ||||
| 	PAGE_EXECUTE_READWRITE = 0x40 | ||||
| 	PAGE_EXECUTE_WRITECOPY = 0x80 | ||||
|  | ||||
| 	QUOTA_LIMITS_HARDWS_MIN_DISABLE = 0x00000002 | ||||
| 	QUOTA_LIMITS_HARDWS_MIN_ENABLE  = 0x00000001 | ||||
| 	QUOTA_LIMITS_HARDWS_MAX_DISABLE = 0x00000008 | ||||
| 	QUOTA_LIMITS_HARDWS_MAX_ENABLE  = 0x00000004 | ||||
| ) | ||||
|   | ||||
							
								
								
									
										20
									
								
								vendor/golang.org/x/sys/windows/security_windows.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										20
									
								
								vendor/golang.org/x/sys/windows/security_windows.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -7,6 +7,8 @@ package windows | ||||
| import ( | ||||
| 	"syscall" | ||||
| 	"unsafe" | ||||
|  | ||||
| 	"golang.org/x/sys/internal/unsafeheader" | ||||
| ) | ||||
|  | ||||
| const ( | ||||
| @@ -1229,7 +1231,7 @@ func (sd *SECURITY_DESCRIPTOR) String() string { | ||||
| 		return "" | ||||
| 	} | ||||
| 	defer LocalFree(Handle(unsafe.Pointer(sddl))) | ||||
| 	return UTF16ToString((*[(1 << 30) - 1]uint16)(unsafe.Pointer(sddl))[:]) | ||||
| 	return UTF16PtrToString(sddl) | ||||
| } | ||||
|  | ||||
| // ToAbsolute converts a self-relative security descriptor into an absolute one. | ||||
| @@ -1307,9 +1309,17 @@ func (absoluteSD *SECURITY_DESCRIPTOR) ToSelfRelative() (selfRelativeSD *SECURIT | ||||
| } | ||||
|  | ||||
| func (selfRelativeSD *SECURITY_DESCRIPTOR) copySelfRelativeSecurityDescriptor() *SECURITY_DESCRIPTOR { | ||||
| 	sdBytes := make([]byte, selfRelativeSD.Length()) | ||||
| 	copy(sdBytes, (*[(1 << 31) - 1]byte)(unsafe.Pointer(selfRelativeSD))[:len(sdBytes)]) | ||||
| 	return (*SECURITY_DESCRIPTOR)(unsafe.Pointer(&sdBytes[0])) | ||||
| 	sdLen := (int)(selfRelativeSD.Length()) | ||||
|  | ||||
| 	var src []byte | ||||
| 	h := (*unsafeheader.Slice)(unsafe.Pointer(&src)) | ||||
| 	h.Data = unsafe.Pointer(selfRelativeSD) | ||||
| 	h.Len = sdLen | ||||
| 	h.Cap = sdLen | ||||
|  | ||||
| 	dst := make([]byte, sdLen) | ||||
| 	copy(dst, src) | ||||
| 	return (*SECURITY_DESCRIPTOR)(unsafe.Pointer(&dst[0])) | ||||
| } | ||||
|  | ||||
| // SecurityDescriptorFromString converts an SDDL string describing a security descriptor into a | ||||
| @@ -1391,6 +1401,6 @@ func ACLFromEntries(explicitEntries []EXPLICIT_ACCESS, mergedACL *ACL) (acl *ACL | ||||
| 	} | ||||
| 	defer LocalFree(Handle(unsafe.Pointer(winHeapACL))) | ||||
| 	aclBytes := make([]byte, winHeapACL.aclSize) | ||||
| 	copy(aclBytes, (*[(1 << 31) - 1]byte)(unsafe.Pointer(winHeapACL))[:len(aclBytes)]) | ||||
| 	copy(aclBytes, (*[(1 << 31) - 1]byte)(unsafe.Pointer(winHeapACL))[:len(aclBytes):len(aclBytes)]) | ||||
| 	return (*ACL)(unsafe.Pointer(&aclBytes[0])), nil | ||||
| } | ||||
|   | ||||
							
								
								
									
										40
									
								
								vendor/golang.org/x/sys/windows/svc/mgr/config.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										40
									
								
								vendor/golang.org/x/sys/windows/svc/mgr/config.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -8,7 +8,6 @@ package mgr | ||||
|  | ||||
| import ( | ||||
| 	"syscall" | ||||
| 	"unicode/utf16" | ||||
| 	"unsafe" | ||||
|  | ||||
| 	"golang.org/x/sys/windows" | ||||
| @@ -46,28 +45,21 @@ type Config struct { | ||||
| 	DelayedAutoStart bool   // the service is started after other auto-start services are started plus a short delay | ||||
| } | ||||
|  | ||||
| func toString(p *uint16) string { | ||||
| 	if p == nil { | ||||
| 		return "" | ||||
| 	} | ||||
| 	return syscall.UTF16ToString((*[4096]uint16)(unsafe.Pointer(p))[:]) | ||||
| } | ||||
|  | ||||
| func toStringSlice(ps *uint16) []string { | ||||
| 	if ps == nil { | ||||
| 		return nil | ||||
| 	} | ||||
| 	r := make([]string, 0) | ||||
| 	for from, i, p := 0, 0, (*[1 << 24]uint16)(unsafe.Pointer(ps)); true; i++ { | ||||
| 		if p[i] == 0 { | ||||
| 			// empty string marks the end | ||||
| 			if i <= from { | ||||
| 				break | ||||
| 			} | ||||
| 			r = append(r, string(utf16.Decode(p[from:i]))) | ||||
| 			from = i + 1 | ||||
| 	p := unsafe.Pointer(ps) | ||||
|  | ||||
| 	for { | ||||
| 		s := windows.UTF16PtrToString((*uint16)(p)) | ||||
| 		if len(s) == 0 { | ||||
| 			break | ||||
| 		} | ||||
|  | ||||
| 		r = append(r, s) | ||||
| 		offset := unsafe.Sizeof(uint16(0)) * (uintptr)(len(s)+1) | ||||
| 		p = unsafe.Pointer(uintptr(p) + offset) | ||||
| 	} | ||||
|  | ||||
| 	return r | ||||
| } | ||||
|  | ||||
| @@ -110,13 +102,13 @@ func (s *Service) Config() (Config, error) { | ||||
| 		ServiceType:      p.ServiceType, | ||||
| 		StartType:        p.StartType, | ||||
| 		ErrorControl:     p.ErrorControl, | ||||
| 		BinaryPathName:   toString(p.BinaryPathName), | ||||
| 		LoadOrderGroup:   toString(p.LoadOrderGroup), | ||||
| 		BinaryPathName:   windows.UTF16PtrToString(p.BinaryPathName), | ||||
| 		LoadOrderGroup:   windows.UTF16PtrToString(p.LoadOrderGroup), | ||||
| 		TagId:            p.TagId, | ||||
| 		Dependencies:     toStringSlice(p.Dependencies), | ||||
| 		ServiceStartName: toString(p.ServiceStartName), | ||||
| 		DisplayName:      toString(p.DisplayName), | ||||
| 		Description:      toString(p2.Description), | ||||
| 		ServiceStartName: windows.UTF16PtrToString(p.ServiceStartName), | ||||
| 		DisplayName:      windows.UTF16PtrToString(p.DisplayName), | ||||
| 		Description:      windows.UTF16PtrToString(p2.Description), | ||||
| 		DelayedAutoStart: delayedStart, | ||||
| 	}, nil | ||||
| } | ||||
|   | ||||
							
								
								
									
										13
									
								
								vendor/golang.org/x/sys/windows/svc/mgr/mgr.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								vendor/golang.org/x/sys/windows/svc/mgr/mgr.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -17,6 +17,7 @@ import ( | ||||
| 	"unicode/utf16" | ||||
| 	"unsafe" | ||||
|  | ||||
| 	"golang.org/x/sys/internal/unsafeheader" | ||||
| 	"golang.org/x/sys/windows" | ||||
| ) | ||||
|  | ||||
| @@ -73,7 +74,7 @@ func (m *Mgr) LockStatus() (*LockStatus, error) { | ||||
| 		status := &LockStatus{ | ||||
| 			IsLocked: lockStatus.IsLocked != 0, | ||||
| 			Age:      time.Duration(lockStatus.LockDuration) * time.Second, | ||||
| 			Owner:    windows.UTF16ToString((*[(1 << 30) - 1]uint16)(unsafe.Pointer(lockStatus.LockOwner))[:]), | ||||
| 			Owner:    windows.UTF16PtrToString(lockStatus.LockOwner), | ||||
| 		} | ||||
| 		return status, nil | ||||
| 	} | ||||
| @@ -201,10 +202,16 @@ func (m *Mgr) ListServices() ([]string, error) { | ||||
| 	if servicesReturned == 0 { | ||||
| 		return nil, nil | ||||
| 	} | ||||
| 	services := (*[1 << 20]windows.ENUM_SERVICE_STATUS_PROCESS)(unsafe.Pointer(&buf[0]))[:servicesReturned] | ||||
|  | ||||
| 	var services []windows.ENUM_SERVICE_STATUS_PROCESS | ||||
| 	hdr := (*unsafeheader.Slice)(unsafe.Pointer(&services)) | ||||
| 	hdr.Data = unsafe.Pointer(&buf[0]) | ||||
| 	hdr.Len = int(servicesReturned) | ||||
| 	hdr.Cap = int(servicesReturned) | ||||
|  | ||||
| 	var names []string | ||||
| 	for _, s := range services { | ||||
| 		name := syscall.UTF16ToString((*[1 << 20]uint16)(unsafe.Pointer(s.ServiceName))[:]) | ||||
| 		name := windows.UTF16PtrToString(s.ServiceName) | ||||
| 		names = append(names, name) | ||||
| 	} | ||||
| 	return names, nil | ||||
|   | ||||
							
								
								
									
										12
									
								
								vendor/golang.org/x/sys/windows/svc/mgr/recovery.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								vendor/golang.org/x/sys/windows/svc/mgr/recovery.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -12,6 +12,7 @@ import ( | ||||
| 	"time" | ||||
| 	"unsafe" | ||||
|  | ||||
| 	"golang.org/x/sys/internal/unsafeheader" | ||||
| 	"golang.org/x/sys/windows" | ||||
| ) | ||||
|  | ||||
| @@ -68,8 +69,13 @@ func (s *Service) RecoveryActions() ([]RecoveryAction, error) { | ||||
| 		return nil, err | ||||
| 	} | ||||
|  | ||||
| 	var actions []windows.SC_ACTION | ||||
| 	hdr := (*unsafeheader.Slice)(unsafe.Pointer(&actions)) | ||||
| 	hdr.Data = unsafe.Pointer(p.Actions) | ||||
| 	hdr.Len = int(p.ActionsCount) | ||||
| 	hdr.Cap = int(p.ActionsCount) | ||||
|  | ||||
| 	var recoveryActions []RecoveryAction | ||||
| 	actions := (*[1024]windows.SC_ACTION)(unsafe.Pointer(p.Actions))[:p.ActionsCount] | ||||
| 	for _, action := range actions { | ||||
| 		recoveryActions = append(recoveryActions, RecoveryAction{Type: int(action.Type), Delay: time.Duration(action.Delay) * time.Millisecond}) | ||||
| 	} | ||||
| @@ -112,7 +118,7 @@ func (s *Service) RebootMessage() (string, error) { | ||||
| 		return "", err | ||||
| 	} | ||||
| 	p := (*windows.SERVICE_FAILURE_ACTIONS)(unsafe.Pointer(&b[0])) | ||||
| 	return toString(p.RebootMsg), nil | ||||
| 	return windows.UTF16PtrToString(p.RebootMsg), nil | ||||
| } | ||||
|  | ||||
| // SetRecoveryCommand sets the command line of the process to execute in response to the RunCommand service controller action. | ||||
| @@ -131,5 +137,5 @@ func (s *Service) RecoveryCommand() (string, error) { | ||||
| 		return "", err | ||||
| 	} | ||||
| 	p := (*windows.SERVICE_FAILURE_ACTIONS)(unsafe.Pointer(&b[0])) | ||||
| 	return toString(p.Command), nil | ||||
| 	return windows.UTF16PtrToString(p.Command), nil | ||||
| } | ||||
|   | ||||
							
								
								
									
										7
									
								
								vendor/golang.org/x/sys/windows/svc/security.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								vendor/golang.org/x/sys/windows/svc/security.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -7,8 +7,6 @@ | ||||
| package svc | ||||
|  | ||||
| import ( | ||||
| 	"unsafe" | ||||
|  | ||||
| 	"golang.org/x/sys/windows" | ||||
| ) | ||||
|  | ||||
| @@ -48,9 +46,8 @@ func IsAnInteractiveSession() (bool, error) { | ||||
| 	if err != nil { | ||||
| 		return false, err | ||||
| 	} | ||||
| 	p := unsafe.Pointer(&gs.Groups[0]) | ||||
| 	groups := (*[2 << 20]windows.SIDAndAttributes)(p)[:gs.GroupCount] | ||||
| 	for _, g := range groups { | ||||
|  | ||||
| 	for _, g := range gs.AllGroups() { | ||||
| 		if windows.EqualSid(g.Sid, interSid) { | ||||
| 			return true, nil | ||||
| 		} | ||||
|   | ||||
							
								
								
									
										11
									
								
								vendor/golang.org/x/sys/windows/svc/service.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								vendor/golang.org/x/sys/windows/svc/service.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -14,6 +14,7 @@ import ( | ||||
| 	"syscall" | ||||
| 	"unsafe" | ||||
|  | ||||
| 	"golang.org/x/sys/internal/unsafeheader" | ||||
| 	"golang.org/x/sys/windows" | ||||
| ) | ||||
|  | ||||
| @@ -224,10 +225,16 @@ const ( | ||||
| func (s *service) run() { | ||||
| 	s.goWaits.Wait() | ||||
| 	s.h = windows.Handle(ssHandle) | ||||
| 	argv := (*[100]*int16)(unsafe.Pointer(sArgv))[:sArgc] | ||||
|  | ||||
| 	var argv []*uint16 | ||||
| 	hdr := (*unsafeheader.Slice)(unsafe.Pointer(&argv)) | ||||
| 	hdr.Data = unsafe.Pointer(sArgv) | ||||
| 	hdr.Len = int(sArgc) | ||||
| 	hdr.Cap = int(sArgc) | ||||
|  | ||||
| 	args := make([]string, len(argv)) | ||||
| 	for i, a := range argv { | ||||
| 		args[i] = syscall.UTF16ToString((*[1 << 20]uint16)(unsafe.Pointer(a))[:]) | ||||
| 		args[i] = windows.UTF16PtrToString(a) | ||||
| 	} | ||||
|  | ||||
| 	cmdsToHandler := make(chan ChangeRequest) | ||||
|   | ||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user
	 Sebastiaan van Stijn
					Sebastiaan van Stijn