I don't know what's wrong with my program #636
Unanswered
Stuckinendlesschaos
asked this question in
Q&A
Replies: 1 comment
-
when I use SEC("cgroupv2/egress"),everything is okay. but I used SEC("sockops"), error has happened. Of course the part of link.AttachCGroup already has changed on right ways |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I make some codes with cilium/ebpf. I find my code fails each time, error is "can't create link : operation not permitted". I used SEC("sockops") to do some works,and use AttachCGroupSockOps. I think my code is right, but error always happens at link.AttachCGroup(link.CgroupOperations{...})
I can't fix it , So what is question, where is it.
code
I find that error happened at createRawLink func , and code can run at other machine , so my virtual file system has some questions. how to fix it .
Beta Was this translation helpful? Give feedback.
All reactions