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:
Kir Kolyshkin
2025-01-31 15:56:24 -08:00
parent f1c0e63252
commit 8e5bb0d8c4
69 changed files with 880 additions and 2735 deletions

View File

@@ -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 {