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/test/integration-ebpf/src
Michal Rostecki f48b5a4a84 aya: Ensure that truncated map names are NULL terminated
Limit of map names in eBPF is 16 bytes and they have to be NULL
terminated.

Before this change, long names were truncated to 16 bytes.
`MAP_WITH_LOOOONG_NAAAAAAAAME` would become `MAP_WITH_LOOOONG`, which
doesn't contain the NULL byte.

This change fixes that by truncating the name to 15 bytes, ensuring
that the 16th byte is NULL. `MAP_WITH_LOOOONG_NAAAAAAAAME` is truncated
to `MAP_WITH_LOOOON\0`.
1 month ago
..
bpf_probe_read.rs Bump edition to 2024 2 months ago
lib.rs integration-test: build-dep on integration-ebpf 2 years ago
log.rs aya-log: Allow logging `core::net::Ipv4Addr` and `core::net::Ipv6Addr` 9 months ago
map_test.rs aya: Ensure that truncated map names are NULL terminated 1 month ago
memmove_test.rs Bump edition to 2024 2 months ago
name_test.rs chore(aya-ebpf): Rename bpf -> ebpf 1 year ago
pass.rs chore(aya-ebpf): Rename bpf -> ebpf 1 year ago
raw_tracepoint.rs bpf: Handle raw tracepoint arguments 3 months ago
redirect.rs replace hard-coded queue ID with queried queue ID 2 months ago
relocations.rs Appease `static_mut_refs` 7 months ago
ring_buf.rs Extract integration-common for shared types 5 months ago
simple_prog.rs aya,integration-test: improve integration tests for info API 8 months ago
strncmp.rs Extract integration-common for shared types 5 months ago
tcx.rs feat(aya): Implement TCX 6 months ago
test.rs test/integration-ebpf: added integration tests for kretprobe & uretprobe 1 year ago
two_progs.rs chore(aya-ebpf): Rename bpf -> ebpf 1 year ago
uprobe_cookie.rs Bump edition to 2024 2 months ago
xdp_sec.rs chore(aya-ebpf): Rename bpf -> ebpf 1 year ago