We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cilium/ebpf's prog.{Attach,Detach} API is now deprecated in favor of new link package (see cilium/ebpf@5727d65 and cilium/ebpf#110).
cilium/ebpf
prog.{Attach,Detach}
runc need to adopt.
libcontainer/cgroups/ebpf/ebpf.go:35:12: SA1019: prog.Attach is deprecated: use link.RawAttachProgram instead. (staticcheck) if err := prog.Attach(dirFD, ebpf.AttachCGroupDevice, unix.BPF_F_ALLOW_MULTI); err != nil { ^ libcontainer/cgroups/ebpf/ebpf.go:39:13: SA1019: prog.Detach is deprecated: use link.RawDetachProgram instead. (staticcheck) if err := prog.Detach(dirFD, ebpf.AttachCGroupDevice, unix.BPF_F_ALLOW_MULTI); err != nil { ^
I don't know much about these matters; @cyphar mind to take a look?
The text was updated successfully, but these errors were encountered:
missed there was a tracking issue for this; I opened #2903, which also revealed a potential bug in the closer (pls double-check that one)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
cilium/ebpf
'sprog.{Attach,Detach}
API is now deprecated in favor of new link package (see cilium/ebpf@5727d65 and cilium/ebpf#110).runc need to adopt.
I don't know much about these matters; @cyphar mind to take a look?
The text was updated successfully, but these errors were encountered: