mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 10:03:42 +08:00 
			
		
		
		
	vendor: golang.org/x/sys v0.16.0
full diff: https://github.com/golang/sys/compare/v0.15.0...v0.16.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
		
							
								
								
									
										2
									
								
								go.mod
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								go.mod
									
									
									
									
									
								
							@@ -46,7 +46,7 @@ require (
 | 
				
			|||||||
	go.opentelemetry.io/otel/trace v1.19.0
 | 
						go.opentelemetry.io/otel/trace v1.19.0
 | 
				
			||||||
	golang.org/x/mod v0.11.0
 | 
						golang.org/x/mod v0.11.0
 | 
				
			||||||
	golang.org/x/sync v0.3.0
 | 
						golang.org/x/sync v0.3.0
 | 
				
			||||||
	golang.org/x/sys v0.15.0
 | 
						golang.org/x/sys v0.16.0
 | 
				
			||||||
	golang.org/x/term v0.15.0
 | 
						golang.org/x/term v0.15.0
 | 
				
			||||||
	google.golang.org/grpc v1.58.3
 | 
						google.golang.org/grpc v1.58.3
 | 
				
			||||||
	gopkg.in/yaml.v3 v3.0.1
 | 
						gopkg.in/yaml.v3 v3.0.1
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								go.sum
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								go.sum
									
									
									
									
									
								
							@@ -572,8 +572,8 @@ golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBc
 | 
				
			|||||||
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 | 
					golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 | 
				
			||||||
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 | 
					golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 | 
				
			||||||
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 | 
					golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 | 
				
			||||||
golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc=
 | 
					golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU=
 | 
				
			||||||
golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
 | 
					golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
 | 
				
			||||||
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
 | 
					golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
 | 
				
			||||||
golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4=
 | 
					golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4=
 | 
				
			||||||
golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0=
 | 
					golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0=
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										37
									
								
								vendor/golang.org/x/sys/unix/mkerrors.sh
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										37
									
								
								vendor/golang.org/x/sys/unix/mkerrors.sh
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -248,6 +248,7 @@ struct ltchars {
 | 
				
			|||||||
#include <linux/module.h>
 | 
					#include <linux/module.h>
 | 
				
			||||||
#include <linux/mount.h>
 | 
					#include <linux/mount.h>
 | 
				
			||||||
#include <linux/netfilter/nfnetlink.h>
 | 
					#include <linux/netfilter/nfnetlink.h>
 | 
				
			||||||
 | 
					#include <linux/netfilter/nf_tables.h>
 | 
				
			||||||
#include <linux/netlink.h>
 | 
					#include <linux/netlink.h>
 | 
				
			||||||
#include <linux/net_namespace.h>
 | 
					#include <linux/net_namespace.h>
 | 
				
			||||||
#include <linux/nfc.h>
 | 
					#include <linux/nfc.h>
 | 
				
			||||||
@@ -283,10 +284,6 @@ struct ltchars {
 | 
				
			|||||||
#include <asm/termbits.h>
 | 
					#include <asm/termbits.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef MSG_FASTOPEN
 | 
					 | 
				
			||||||
#define MSG_FASTOPEN    0x20000000
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#ifndef PTRACE_GETREGS
 | 
					#ifndef PTRACE_GETREGS
 | 
				
			||||||
#define PTRACE_GETREGS	0xc
 | 
					#define PTRACE_GETREGS	0xc
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
@@ -295,14 +292,6 @@ struct ltchars {
 | 
				
			|||||||
#define PTRACE_SETREGS	0xd
 | 
					#define PTRACE_SETREGS	0xd
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef SOL_NETLINK
 | 
					 | 
				
			||||||
#define SOL_NETLINK	270
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#ifndef SOL_SMC
 | 
					 | 
				
			||||||
#define SOL_SMC 286
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#ifdef SOL_BLUETOOTH
 | 
					#ifdef SOL_BLUETOOTH
 | 
				
			||||||
// SPARC includes this in /usr/include/sparc64-linux-gnu/bits/socket.h
 | 
					// SPARC includes this in /usr/include/sparc64-linux-gnu/bits/socket.h
 | 
				
			||||||
// but it is already in bluetooth_linux.go
 | 
					// but it is already in bluetooth_linux.go
 | 
				
			||||||
@@ -319,10 +308,23 @@ struct ltchars {
 | 
				
			|||||||
#undef TIPC_WAIT_FOREVER
 | 
					#undef TIPC_WAIT_FOREVER
 | 
				
			||||||
#define TIPC_WAIT_FOREVER 0xffffffff
 | 
					#define TIPC_WAIT_FOREVER 0xffffffff
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Copied from linux/l2tp.h
 | 
					// Copied from linux/netfilter/nf_nat.h
 | 
				
			||||||
// Including linux/l2tp.h here causes conflicts between linux/in.h
 | 
					// Including linux/netfilter/nf_nat.h here causes conflicts between linux/in.h
 | 
				
			||||||
// and netinet/in.h included via net/route.h above.
 | 
					// and netinet/in.h.
 | 
				
			||||||
#define IPPROTO_L2TP		115
 | 
					#define NF_NAT_RANGE_MAP_IPS			(1 << 0)
 | 
				
			||||||
 | 
					#define NF_NAT_RANGE_PROTO_SPECIFIED		(1 << 1)
 | 
				
			||||||
 | 
					#define NF_NAT_RANGE_PROTO_RANDOM		(1 << 2)
 | 
				
			||||||
 | 
					#define NF_NAT_RANGE_PERSISTENT			(1 << 3)
 | 
				
			||||||
 | 
					#define NF_NAT_RANGE_PROTO_RANDOM_FULLY		(1 << 4)
 | 
				
			||||||
 | 
					#define NF_NAT_RANGE_PROTO_OFFSET		(1 << 5)
 | 
				
			||||||
 | 
					#define NF_NAT_RANGE_NETMAP			(1 << 6)
 | 
				
			||||||
 | 
					#define NF_NAT_RANGE_PROTO_RANDOM_ALL		\
 | 
				
			||||||
 | 
						(NF_NAT_RANGE_PROTO_RANDOM | NF_NAT_RANGE_PROTO_RANDOM_FULLY)
 | 
				
			||||||
 | 
					#define NF_NAT_RANGE_MASK					\
 | 
				
			||||||
 | 
						(NF_NAT_RANGE_MAP_IPS | NF_NAT_RANGE_PROTO_SPECIFIED |	\
 | 
				
			||||||
 | 
						 NF_NAT_RANGE_PROTO_RANDOM | NF_NAT_RANGE_PERSISTENT |	\
 | 
				
			||||||
 | 
						 NF_NAT_RANGE_PROTO_RANDOM_FULLY | NF_NAT_RANGE_PROTO_OFFSET | \
 | 
				
			||||||
 | 
						 NF_NAT_RANGE_NETMAP)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Copied from linux/hid.h.
 | 
					// Copied from linux/hid.h.
 | 
				
			||||||
// Keep in sync with the size of the referenced fields.
 | 
					// Keep in sync with the size of the referenced fields.
 | 
				
			||||||
@@ -603,6 +605,9 @@ ccflags="$@"
 | 
				
			|||||||
		$2 ~ /^FSOPT_/ ||
 | 
							$2 ~ /^FSOPT_/ ||
 | 
				
			||||||
		$2 ~ /^WDIO[CFS]_/ ||
 | 
							$2 ~ /^WDIO[CFS]_/ ||
 | 
				
			||||||
		$2 ~ /^NFN/ ||
 | 
							$2 ~ /^NFN/ ||
 | 
				
			||||||
 | 
							$2 !~ /^NFT_META_IIFTYPE/ &&
 | 
				
			||||||
 | 
							$2 ~ /^NFT_/ ||
 | 
				
			||||||
 | 
							$2 ~ /^NF_NAT_/ ||
 | 
				
			||||||
		$2 ~ /^XDP_/ ||
 | 
							$2 ~ /^XDP_/ ||
 | 
				
			||||||
		$2 ~ /^RWF_/ ||
 | 
							$2 ~ /^RWF_/ ||
 | 
				
			||||||
		$2 ~ /^(HDIO|WIN|SMART)_/ ||
 | 
							$2 ~ /^(HDIO|WIN|SMART)_/ ||
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										54
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										54
									
								
								vendor/golang.org/x/sys/unix/zerrors_linux.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -2127,6 +2127,60 @@ const (
 | 
				
			|||||||
	NFNL_SUBSYS_QUEUE                           = 0x3
 | 
						NFNL_SUBSYS_QUEUE                           = 0x3
 | 
				
			||||||
	NFNL_SUBSYS_ULOG                            = 0x4
 | 
						NFNL_SUBSYS_ULOG                            = 0x4
 | 
				
			||||||
	NFS_SUPER_MAGIC                             = 0x6969
 | 
						NFS_SUPER_MAGIC                             = 0x6969
 | 
				
			||||||
 | 
						NFT_CHAIN_FLAGS                             = 0x7
 | 
				
			||||||
 | 
						NFT_CHAIN_MAXNAMELEN                        = 0x100
 | 
				
			||||||
 | 
						NFT_CT_MAX                                  = 0x17
 | 
				
			||||||
 | 
						NFT_DATA_RESERVED_MASK                      = 0xffffff00
 | 
				
			||||||
 | 
						NFT_DATA_VALUE_MAXLEN                       = 0x40
 | 
				
			||||||
 | 
						NFT_EXTHDR_OP_MAX                           = 0x4
 | 
				
			||||||
 | 
						NFT_FIB_RESULT_MAX                          = 0x3
 | 
				
			||||||
 | 
						NFT_INNER_MASK                              = 0xf
 | 
				
			||||||
 | 
						NFT_LOGLEVEL_MAX                            = 0x8
 | 
				
			||||||
 | 
						NFT_NAME_MAXLEN                             = 0x100
 | 
				
			||||||
 | 
						NFT_NG_MAX                                  = 0x1
 | 
				
			||||||
 | 
						NFT_OBJECT_CONNLIMIT                        = 0x5
 | 
				
			||||||
 | 
						NFT_OBJECT_COUNTER                          = 0x1
 | 
				
			||||||
 | 
						NFT_OBJECT_CT_EXPECT                        = 0x9
 | 
				
			||||||
 | 
						NFT_OBJECT_CT_HELPER                        = 0x3
 | 
				
			||||||
 | 
						NFT_OBJECT_CT_TIMEOUT                       = 0x7
 | 
				
			||||||
 | 
						NFT_OBJECT_LIMIT                            = 0x4
 | 
				
			||||||
 | 
						NFT_OBJECT_MAX                              = 0xa
 | 
				
			||||||
 | 
						NFT_OBJECT_QUOTA                            = 0x2
 | 
				
			||||||
 | 
						NFT_OBJECT_SECMARK                          = 0x8
 | 
				
			||||||
 | 
						NFT_OBJECT_SYNPROXY                         = 0xa
 | 
				
			||||||
 | 
						NFT_OBJECT_TUNNEL                           = 0x6
 | 
				
			||||||
 | 
						NFT_OBJECT_UNSPEC                           = 0x0
 | 
				
			||||||
 | 
						NFT_OBJ_MAXNAMELEN                          = 0x100
 | 
				
			||||||
 | 
						NFT_OSF_MAXGENRELEN                         = 0x10
 | 
				
			||||||
 | 
						NFT_QUEUE_FLAG_BYPASS                       = 0x1
 | 
				
			||||||
 | 
						NFT_QUEUE_FLAG_CPU_FANOUT                   = 0x2
 | 
				
			||||||
 | 
						NFT_QUEUE_FLAG_MASK                         = 0x3
 | 
				
			||||||
 | 
						NFT_REG32_COUNT                             = 0x10
 | 
				
			||||||
 | 
						NFT_REG32_SIZE                              = 0x4
 | 
				
			||||||
 | 
						NFT_REG_MAX                                 = 0x4
 | 
				
			||||||
 | 
						NFT_REG_SIZE                                = 0x10
 | 
				
			||||||
 | 
						NFT_REJECT_ICMPX_MAX                        = 0x3
 | 
				
			||||||
 | 
						NFT_RT_MAX                                  = 0x4
 | 
				
			||||||
 | 
						NFT_SECMARK_CTX_MAXLEN                      = 0x100
 | 
				
			||||||
 | 
						NFT_SET_MAXNAMELEN                          = 0x100
 | 
				
			||||||
 | 
						NFT_SOCKET_MAX                              = 0x3
 | 
				
			||||||
 | 
						NFT_TABLE_F_MASK                            = 0x3
 | 
				
			||||||
 | 
						NFT_TABLE_MAXNAMELEN                        = 0x100
 | 
				
			||||||
 | 
						NFT_TRACETYPE_MAX                           = 0x3
 | 
				
			||||||
 | 
						NFT_TUNNEL_F_MASK                           = 0x7
 | 
				
			||||||
 | 
						NFT_TUNNEL_MAX                              = 0x1
 | 
				
			||||||
 | 
						NFT_TUNNEL_MODE_MAX                         = 0x2
 | 
				
			||||||
 | 
						NFT_USERDATA_MAXLEN                         = 0x100
 | 
				
			||||||
 | 
						NFT_XFRM_KEY_MAX                            = 0x6
 | 
				
			||||||
 | 
						NF_NAT_RANGE_MAP_IPS                        = 0x1
 | 
				
			||||||
 | 
						NF_NAT_RANGE_MASK                           = 0x7f
 | 
				
			||||||
 | 
						NF_NAT_RANGE_NETMAP                         = 0x40
 | 
				
			||||||
 | 
						NF_NAT_RANGE_PERSISTENT                     = 0x8
 | 
				
			||||||
 | 
						NF_NAT_RANGE_PROTO_OFFSET                   = 0x20
 | 
				
			||||||
 | 
						NF_NAT_RANGE_PROTO_RANDOM                   = 0x4
 | 
				
			||||||
 | 
						NF_NAT_RANGE_PROTO_RANDOM_ALL               = 0x14
 | 
				
			||||||
 | 
						NF_NAT_RANGE_PROTO_RANDOM_FULLY             = 0x10
 | 
				
			||||||
 | 
						NF_NAT_RANGE_PROTO_SPECIFIED                = 0x2
 | 
				
			||||||
	NILFS_SUPER_MAGIC                           = 0x3434
 | 
						NILFS_SUPER_MAGIC                           = 0x3434
 | 
				
			||||||
	NL0                                         = 0x0
 | 
						NL0                                         = 0x0
 | 
				
			||||||
	NL1                                         = 0x100
 | 
						NL1                                         = 0x100
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -2297,5 +2297,3 @@ func unveil(path *byte, flags *byte) (err error) {
 | 
				
			|||||||
var libc_unveil_trampoline_addr uintptr
 | 
					var libc_unveil_trampoline_addr uintptr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//go:cgo_import_dynamic libc_unveil unveil "libc.so"
 | 
					//go:cgo_import_dynamic libc_unveil unveil "libc.so"
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -2297,5 +2297,3 @@ func unveil(path *byte, flags *byte) (err error) {
 | 
				
			|||||||
var libc_unveil_trampoline_addr uintptr
 | 
					var libc_unveil_trampoline_addr uintptr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//go:cgo_import_dynamic libc_unveil unveil "libc.so"
 | 
					//go:cgo_import_dynamic libc_unveil unveil "libc.so"
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -2297,5 +2297,3 @@ func unveil(path *byte, flags *byte) (err error) {
 | 
				
			|||||||
var libc_unveil_trampoline_addr uintptr
 | 
					var libc_unveil_trampoline_addr uintptr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//go:cgo_import_dynamic libc_unveil unveil "libc.so"
 | 
					//go:cgo_import_dynamic libc_unveil unveil "libc.so"
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -2297,5 +2297,3 @@ func unveil(path *byte, flags *byte) (err error) {
 | 
				
			|||||||
var libc_unveil_trampoline_addr uintptr
 | 
					var libc_unveil_trampoline_addr uintptr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//go:cgo_import_dynamic libc_unveil unveil "libc.so"
 | 
					//go:cgo_import_dynamic libc_unveil unveil "libc.so"
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -2297,5 +2297,3 @@ func unveil(path *byte, flags *byte) (err error) {
 | 
				
			|||||||
var libc_unveil_trampoline_addr uintptr
 | 
					var libc_unveil_trampoline_addr uintptr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//go:cgo_import_dynamic libc_unveil unveil "libc.so"
 | 
					//go:cgo_import_dynamic libc_unveil unveil "libc.so"
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -2297,5 +2297,3 @@ func unveil(path *byte, flags *byte) (err error) {
 | 
				
			|||||||
var libc_unveil_trampoline_addr uintptr
 | 
					var libc_unveil_trampoline_addr uintptr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//go:cgo_import_dynamic libc_unveil unveil "libc.so"
 | 
					//go:cgo_import_dynamic libc_unveil unveil "libc.so"
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -2297,5 +2297,3 @@ func unveil(path *byte, flags *byte) (err error) {
 | 
				
			|||||||
var libc_unveil_trampoline_addr uintptr
 | 
					var libc_unveil_trampoline_addr uintptr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//go:cgo_import_dynamic libc_unveil unveil "libc.so"
 | 
					//go:cgo_import_dynamic libc_unveil unveil "libc.so"
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										1
									
								
								vendor/golang.org/x/sys/windows/syscall_windows.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/golang.org/x/sys/windows/syscall_windows.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -194,6 +194,7 @@ func NewCallbackCDecl(fn interface{}) uintptr {
 | 
				
			|||||||
//sys	GetComputerName(buf *uint16, n *uint32) (err error) = GetComputerNameW
 | 
					//sys	GetComputerName(buf *uint16, n *uint32) (err error) = GetComputerNameW
 | 
				
			||||||
//sys	GetComputerNameEx(nametype uint32, buf *uint16, n *uint32) (err error) = GetComputerNameExW
 | 
					//sys	GetComputerNameEx(nametype uint32, buf *uint16, n *uint32) (err error) = GetComputerNameExW
 | 
				
			||||||
//sys	SetEndOfFile(handle Handle) (err error)
 | 
					//sys	SetEndOfFile(handle Handle) (err error)
 | 
				
			||||||
 | 
					//sys	SetFileValidData(handle Handle, validDataLength int64) (err error)
 | 
				
			||||||
//sys	GetSystemTimeAsFileTime(time *Filetime)
 | 
					//sys	GetSystemTimeAsFileTime(time *Filetime)
 | 
				
			||||||
//sys	GetSystemTimePreciseAsFileTime(time *Filetime)
 | 
					//sys	GetSystemTimePreciseAsFileTime(time *Filetime)
 | 
				
			||||||
//sys	GetTimeZoneInformation(tzi *Timezoneinformation) (rc uint32, err error) [failretval==0xffffffff]
 | 
					//sys	GetTimeZoneInformation(tzi *Timezoneinformation) (rc uint32, err error) [failretval==0xffffffff]
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										9
									
								
								vendor/golang.org/x/sys/windows/zsyscall_windows.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								vendor/golang.org/x/sys/windows/zsyscall_windows.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -342,6 +342,7 @@ var (
 | 
				
			|||||||
	procSetDefaultDllDirectories                             = modkernel32.NewProc("SetDefaultDllDirectories")
 | 
						procSetDefaultDllDirectories                             = modkernel32.NewProc("SetDefaultDllDirectories")
 | 
				
			||||||
	procSetDllDirectoryW                                     = modkernel32.NewProc("SetDllDirectoryW")
 | 
						procSetDllDirectoryW                                     = modkernel32.NewProc("SetDllDirectoryW")
 | 
				
			||||||
	procSetEndOfFile                                         = modkernel32.NewProc("SetEndOfFile")
 | 
						procSetEndOfFile                                         = modkernel32.NewProc("SetEndOfFile")
 | 
				
			||||||
 | 
						procSetFileValidData                                     = modkernel32.NewProc("SetFileValidData")
 | 
				
			||||||
	procSetEnvironmentVariableW                              = modkernel32.NewProc("SetEnvironmentVariableW")
 | 
						procSetEnvironmentVariableW                              = modkernel32.NewProc("SetEnvironmentVariableW")
 | 
				
			||||||
	procSetErrorMode                                         = modkernel32.NewProc("SetErrorMode")
 | 
						procSetErrorMode                                         = modkernel32.NewProc("SetErrorMode")
 | 
				
			||||||
	procSetEvent                                             = modkernel32.NewProc("SetEvent")
 | 
						procSetEvent                                             = modkernel32.NewProc("SetEvent")
 | 
				
			||||||
@@ -2988,6 +2989,14 @@ func SetEndOfFile(handle Handle) (err error) {
 | 
				
			|||||||
	return
 | 
						return
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func SetFileValidData(handle Handle, validDataLength int64) (err error) {
 | 
				
			||||||
 | 
						r1, _, e1 := syscall.Syscall(procSetFileValidData.Addr(), 2, uintptr(handle), uintptr(validDataLength), 0)
 | 
				
			||||||
 | 
						if r1 == 0 {
 | 
				
			||||||
 | 
							err = errnoErr(e1)
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func SetEnvironmentVariable(name *uint16, value *uint16) (err error) {
 | 
					func SetEnvironmentVariable(name *uint16, value *uint16) (err error) {
 | 
				
			||||||
	r1, _, e1 := syscall.Syscall(procSetEnvironmentVariableW.Addr(), 2, uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(value)), 0)
 | 
						r1, _, e1 := syscall.Syscall(procSetEnvironmentVariableW.Addr(), 2, uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(value)), 0)
 | 
				
			||||||
	if r1 == 0 {
 | 
						if r1 == 0 {
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								vendor/modules.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/modules.txt
									
									
									
									
										vendored
									
									
								
							@@ -844,7 +844,7 @@ golang.org/x/oauth2/internal
 | 
				
			|||||||
## explicit; go 1.17
 | 
					## explicit; go 1.17
 | 
				
			||||||
golang.org/x/sync/errgroup
 | 
					golang.org/x/sync/errgroup
 | 
				
			||||||
golang.org/x/sync/semaphore
 | 
					golang.org/x/sync/semaphore
 | 
				
			||||||
# golang.org/x/sys v0.15.0
 | 
					# golang.org/x/sys v0.16.0
 | 
				
			||||||
## explicit; go 1.18
 | 
					## explicit; go 1.18
 | 
				
			||||||
golang.org/x/sys/cpu
 | 
					golang.org/x/sys/cpu
 | 
				
			||||||
golang.org/x/sys/execabs
 | 
					golang.org/x/sys/execabs
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user