You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aya/ebpf/aya-ebpf/src
Michal R e3bc50c513 aya-ebpf: Remove irrelevant `FIXME` comment
eBPF verifier in recent kernels should be smart enough to track map
map types and catch invalid pointer casts. Rust type system makes sure
that the `get` method can return only the same type the map was created
with. Therefore, safe usage of Aya map types shouldn't cause element
type mismatches.

Manual alignment checks (`pointer::is_aligned` or manual pointer
arithmetic operations) cause the following verifier error:

```
bitwise operator &= on pointer prohibited
```

And it extremely unlikely `bpf_map_lookup_elem` ever returns a
misaligned pointer.
2 weeks ago
..
maps aya-ebpf: Remove irrelevant `FIXME` comment 2 weeks ago
programs Add support for Flow Dissector programs 6 months ago
args.rs aya-obj,aya-ebpf-*: hook up loongarch64 7 months ago
helpers.rs Bump edition to 2024 7 months ago
lib.rs aya-ebpf: Take `c_void` instead of `bpf_map_def` in map helpers 2 weeks ago