mirror of https://github.com/aya-rs/aya
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`. |
3 months ago | |
---|---|---|
.. | ||
bpf_probe_read.rs | 3 months ago | |
lib.rs | 2 years ago | |
log.rs | 11 months ago | |
map_test.rs | 3 months ago | |
memmove_test.rs | 3 months ago | |
name_test.rs | 1 year ago | |
pass.rs | 1 year ago | |
raw_tracepoint.rs | 5 months ago | |
redirect.rs | 3 months ago | |
relocations.rs | 8 months ago | |
ring_buf.rs | 6 months ago | |
simple_prog.rs | 9 months ago | |
strncmp.rs | 6 months ago | |
tcx.rs | 8 months ago | |
test.rs | 1 year ago | |
two_progs.rs | 1 year ago | |
uprobe_cookie.rs | 3 months ago | |
xdp_sec.rs | 1 year ago |