mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-10-31 13:50:01 +00:00 
			
		
		
		
	Updated golang/x/net. Also updated golang.org/x/sys, as required by
hack/lint-dependencies.sh.
This commit is contained in:
		
							
								
								
									
										15
									
								
								vendor/golang.org/x/sys/unix/syscall_openbsd.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										15
									
								
								vendor/golang.org/x/sys/unix/syscall_openbsd.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -114,23 +114,8 @@ func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { | ||||
| 	return | ||||
| } | ||||
|  | ||||
| const ImplementsGetwd = true | ||||
|  | ||||
| //sys	Getcwd(buf []byte) (n int, err error) = SYS___GETCWD | ||||
|  | ||||
| func Getwd() (string, error) { | ||||
| 	var buf [PathMax]byte | ||||
| 	_, err := Getcwd(buf[0:]) | ||||
| 	if err != nil { | ||||
| 		return "", err | ||||
| 	} | ||||
| 	n := clen(buf[:]) | ||||
| 	if n < 1 { | ||||
| 		return "", EINVAL | ||||
| 	} | ||||
| 	return string(buf[:n]), nil | ||||
| } | ||||
|  | ||||
| func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { | ||||
| 	if raceenabled { | ||||
| 		raceReleaseMerge(unsafe.Pointer(&ioSync)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user