Attaching a BPF program currently provides exclusive access to the Program object, but it's not exactly clear why that is. Given that libbpf work on const pointers, let's switch over to having those methods work on a shared receiver instead, eliminating a bunch of possible borrow conflicts.
Attaching a BPF program currently provides exclusive access to the Program object, but it's not exactly clear why that is. Given that libbpf work on const pointers, let's switch over to having those methods work on a shared receiver instead, eliminating a bunch of possible borrow conflicts.
Refs: #953