Skip to content

Releases: aya-rs/aya

aya-log-v0.1.13

16 Nov 06:05
Compare
Choose a tag to compare
  • no changes

aya-log-common-v0.1.13

16 Nov 06:05
Compare
Choose a tag to compare

aya-log-v0.1.11

01 Sep 12:34
Compare
Choose a tag to compare
  • no changes

aya-log-common-v0.1.11

01 Sep 12:34
Compare
Choose a tag to compare

aya-v0.11.0

06 Jun 14:38
Compare
Choose a tag to compare

🚀 Features

  • aya: rework links
  • aya: Implement forget_link
  • Add support for BPF_PROG_TYPE_CGROUP_SYSCTL
  • Add Support for BPF_PROG_TYPE_CGROUP_SOCK_ADDR
  • Add support for BPF_PROG_TYPE_CGROUP_SOCKOPT
  • Add riscv64 architecture support to xtask/codegen
  • riscv scaffolding for codegen
  • Add riscv64 bindings
  • Add support for BPF_PROG_TYPE_SK_LOOKUP
  • Program unload API

🐛 Fixes and 🤏 Small Changes

  • aya: perf_buffer: call BytesMut::reserve() internally
  • aya: Support multiple maps in map sections
  • aya-gen: Disable Debug derive for BTF types
  • aya: Relocate maps using symbol_index
  • Set attach type during load for BPF_PROG_TYPE_CGROUP_SKB
  • aya: Export program modules
  • Getters be gone
  • Codegen changes for RingBuf
  • aya: Rename forget_link to take_link

🤝 Dependencies and 🤖 Generated Code

  • Update libbpf to 3a4e26307d0f9b227e3ebd28b443a1a715e4e17d
  • xtask: Add bpf_.* instead of bpf_map_.* to allowed type
  • Update libbpf to 86eb09863c1c0177e99c2c703092042d3cdba910
  • Update libbpf to 4eb6485c08867edaa5a0a81c64ddb23580420340

📃 Documentation

  • xtask: Add docs build
  • Add Netlify Config and Update README
  • xtask: Add all crates to sidebar

aya-v0.10.7

19 Mar 04:07
Compare
Choose a tag to compare

🚀 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