Releases
aya-v0.10.7
🚀 Features
Support for fentry and fexit programs
Mark .rodata maps as readonly and freeze on load
Support for BPF_PROG_TYPE_EXT
btf: Add support for BTF_TYPE_KIND_{TAG,DECL_TAG}
Add support for BPF_MAP_TYPE_LPM_TRIE
🐛 Fixes and 🤏 Small Changes
fix: make maps compatible with kernel <= 4.14
Use current kernel version as default if not specified
update some cfgs to get rid of the annoying warnings
bpf: Fix cgroup_skb macro
Support k/uprobes on older kernels.
Add wrapper and docs for for bpf_get_current_uid_gid
aya: expand include_bytes_aligned to accept expressions.
aya: programs_mut iterator to complement programs.
aya: close file descriptors on Map drop.
aya: remove unnecessary usage of &dyn trait in favor of impl trait.
aya: use correct program name when relocating
aya: eliminate name duplication in maps and programs.
aya: Remove unnecessary unsafe markers on map iteration.
obj: Improve section detection
Implement Pod for u128 and i128
aya: allocate func/line_info buffers outside if
aya: Retrieve program from pinned path
aya: Fix BTF type resolution for Arrays and Ints
aya: Truncate long program names
aya: Fix name truncation
btf: fix sanitization if BTF_FUNC_GLOBAL is not supported
Add fixup for FuncProto
aya: Fix BTF verifier output
aya: Merge Fixup and Sanitzation to single step
relocate .text references
btf: Replace / in DATASEC before load to kernel
aya: implement Pod for arrays of Pod types
aya: Fix Loading from cgroup/skb sections
Fix socket_filter section match
🧪 Tests
github: Set toolchain override
ci: Use crabby-the-crab
.github: force push to codegen branch
ci: Add autogenerated release notes
ci: Add dependencies/codegen/docs to rel notes
test: Add regression tests
Regression Test Framework Improvements
ci: Fix image build workflow
ci: lint: aya: Skip doctests with miri
🤝 Dependencies and 🤖 Generated Code
Update libbpf to 93e89b34740c509406e948c78a404dd2fba67b8b
codegen: Add more bindings
Update libbpf to 19656636a9b9a2de1f71fa3135709295c16701cc
Add bpf_lpm_trie_key to bindings
Update libbpf to 22411acc4b2c846868fd570b2d9f3b016d2af2cb
codegen: add btf_decl_tag
Update libbpf to be89b28f96be426e30a2b0c5312d13b30ee518c7
📃 Documentation
aya: document the public api
Fix typo in README.md
fix typo in aya/src/programs/fentry.rs
bpf: Improve documentation of set_global method
You can’t perform that action at this time.