mirror of
				https://github.com/opencontainers/runc.git
				synced 2025-10-31 19:13:12 +08:00 
			
		
		
		
	deps: roll back to cilium/ebpf v0.16.0
Also, exclude v0.17.x until there is a fix for runc issue 4594. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
		
							
								
								
									
										6
									
								
								vendor/github.com/cilium/ebpf/internal/errors.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								vendor/github.com/cilium/ebpf/internal/errors.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -23,7 +23,7 @@ func ErrorWithLog(source string, err error, log []byte) *VerifierError { | ||||
|  | ||||
| 	log = bytes.Trim(log, whitespace) | ||||
| 	if len(log) == 0 { | ||||
| 		return &VerifierError{source, err, nil} | ||||
| 		return &VerifierError{source, err, nil, false} | ||||
| 	} | ||||
|  | ||||
| 	logLines := bytes.Split(log, []byte{'\n'}) | ||||
| @@ -34,7 +34,7 @@ func ErrorWithLog(source string, err error, log []byte) *VerifierError { | ||||
| 		lines = append(lines, string(bytes.TrimRight(line, whitespace))) | ||||
| 	} | ||||
|  | ||||
| 	return &VerifierError{source, err, lines} | ||||
| 	return &VerifierError{source, err, lines, false} | ||||
| } | ||||
|  | ||||
| // VerifierError includes information from the eBPF verifier. | ||||
| @@ -46,6 +46,8 @@ type VerifierError struct { | ||||
| 	Cause error | ||||
| 	// The verifier output split into lines. | ||||
| 	Log []string | ||||
| 	// Deprecated: the log is never truncated anymore. | ||||
| 	Truncated bool | ||||
| } | ||||
|  | ||||
| func (le *VerifierError) Unwrap() error { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kir Kolyshkin
					Kir Kolyshkin