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/maps
Michal R d5e4e9270a 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.
5 days ago
..
perf Bump edition to 2024 7 months ago
xdp aya-ebpf: Take `c_void` instead of `bpf_map_def` in map helpers 5 days ago
array.rs aya-ebpf: Remove irrelevant `FIXME` comment 5 days ago
bloom_filter.rs chore(aya-ebpf): Rename bpf -> ebpf 2 years ago
hash_map.rs aya-ebpf: Take `c_void` instead of `bpf_map_def` in map helpers 5 days ago
lpm_trie.rs aya-ebpf: Take `c_void` instead of `bpf_map_def` in map helpers 5 days ago
mod.rs chore(aya-ebpf): Rename bpf -> ebpf 2 years ago
per_cpu_array.rs aya-ebpf: Take `c_void` instead of `bpf_map_def` in map helpers 5 days ago
program_array.rs Bump edition to 2024 7 months ago
queue.rs ebpf: add peak() method to Queue and Stack 3 weeks ago
ring_buf.rs ring_buf: add RingBufBytes for raw byte slices 2 weeks ago
sock_hash.rs aya-ebpf: Take `c_void` instead of `bpf_map_def` in map helpers 5 days ago
sock_map.rs aya-ebpf: Take `c_void` instead of `bpf_map_def` in map helpers 5 days ago
stack.rs ebpf: add peak() method to Queue and Stack 3 weeks ago
stack_trace.rs Bump edition to 2024 7 months ago