Commit Graph

2351 Commits (790b8db0c9bdd8540f3edbf3331d68122d0cbba5)
 

Author SHA1 Message Date
Tamir Duberstein f76fdf9da5
Improve error output
- Use consistent casing.
- Emit syscall return value.
2 months ago
Tamir Duberstein 82aec26963
flow_dissector: add missing impl_try_into_fdlink 2 months ago
Tamir Duberstein 0cb52e850a
xtask: tolerate curl failure when possible
Codex sandbox forbids network access.
2 months ago
Tamir Duberstein 667790e103
xtask: avoid `git submodule update` when possible
`git submodule update` fails when running in a codex sandbox:

```
  error: could not lock config file /Users/tamird/src/aya/.git/modules/libbpf/config: Operation not permitted
```

so just avoid it when not necessary.
2 months ago
Tamir Duberstein 6fc06b9fcf
Remove unused error variant 2 months ago
Tamir Duberstein 4ce1e29804
clippy.sh: build for BPF after everything else
In cases where I run `./clippy.sh ... -p <crate>` I really want the
results for that crate to come quickly.
2 months ago
Tamir Duberstein 57a75dfd61
.vscode: always use linux in rust-analyzer 2 months ago
Christian A. Jacobsen a98b638fa9 feat(log): add support for logging raw pointer types
* Requires the usage of `:p` display hint.
* Will, like stdlib, log with `0x` prefix.
2 months ago
Quentin VIGNAUD 5943d5c180 Change back to prepare 2 months ago
Quentin VIGNAUD 61765fbb5c Update pending state trigger 2 months ago
Quentin VIGNAUD 152b32cf50 Using main release 2 months ago
Quentin VIGNAUD 3332e5befe Doing some fixes 2 months ago
Tamir Duberstein 29dc775535
test-distro: appease unreachable code check
See https://github.com/rust-lang/rust/commit/ff6dc928c5e33ce8e65c6911a7.
2 months ago
Altug Bozkurt fc5387c806
lsm: cgroup attachment type support 2 months ago
Quentin VIGNAUD 4155c7e63a Trying fix on stop 2 months ago
Quentin VIGNAUD 83dfe27bcd Triggering pending directly 2 months ago
Tamir Duberstein 66ed37c8a9
integration-test: add LSM 2 months ago
Tamir Duberstein 8e75214815
feature_probe: properly check for LSM support
Turns out this is not supported in aarch64 until 6.4.
2 months ago
Tamir Duberstein 9ba87c661b
xtask: copy kernel config into the initramfs image
When preparing the VM initramfs detect the `config-*` file that ships alongside
the vmlinuz/modules in each kernel archive and install it under `/boot` (both
as `/boot/config` and `/boot/config-<version>`). This makes the running
kernel’s configuration available inside the guest for the integration tests.
2 months ago
Tamir Duberstein 5f046899b5
xtask: teach integration-test vm to consume kernel debs directly
Bundle handling of Debian kernel archives into xtask so callers can pipe
the raw `.deb` paths straight into `cargo xtask integration-test vm …`.
The driver now extracts each archive into `<cache>/kernel-archives`,
locates the matching `vmlinuz-*`, `lib/modules/*`, and config files, and
feeds those into the initramfs build without requiring the user to
pre-run dpkg/tar. With this in place we drop
`.github/scripts/find_kernels.py`, simplify AGENTS.md/CI instructions to
use `find test/.tmp -name '*.deb'`, remove the gnu-tar requirement we no
longer need, and add `tar` as a workspace dependency for the extractor.
2 months ago
Tamir Duberstein fab4fc44b2
xtask: reduce `fs` imports 2 months ago
Tamir Duberstein d16711b2be
xtask: avoid variables named `cmd` and `child` 2 months ago
Tamir Duberstein ffa65efb36
integration-ebpf: avoid mentioning the size 2 months ago
Quentin VIGNAUD dee95d9044 Using trixie (as ubuntu-latest) 2 months ago
Tamir Duberstein d82ed60795
.cargo/config: use musl-cross on x86_64 as well
This allows us to run virtualized integration tests on macOS hosts.

Bump Ubuntu to 24.04 because we seem to be getting miscompilation on
x86_64 otherwise (when using `x86_64-linux-musl-gcc`). Add `apt install
liblzma-dev` since it doesn't seem to be present in ubuntu-24.04.
2 months ago
Tamir Duberstein 71f6176e24
xtask: ensure we actually built depmod 2 months ago
Tamir Duberstein 82750ae3b1
.github: attempt to enable KVM 2 months ago
Tamir Duberstein 9bc185a61e
aya-tool: simplify and improve error handling 2 months ago
Michal R 98e8c78376 aya-ebpf: Make use of `Borrow` and `BorrowMut` in map methods
Let callers pass either owned objects or references. We do that already
in the user-space methods.
2 months ago
Quentin VIGNAUD 53eb17c312 Reenabling contexts 2 months ago
Quentin VIGNAUD 2817680177 Changing trigger 2 months ago
Quentin VIGNAUD f8ae28ba36 Trying another trigger 2 months ago
Quentin VIGNAUD b59a94206e Enabling only one state 2 months ago
Quentin VIGNAUD df899b7e1b Try W/O Github API 2 months ago
Quentin VIGNAUD 4bace3c004 Check stuff 2 months ago
Quentin VIGNAUD 352fd1841a Use debug registry 2 months ago
Quentin VIGNAUD 7d18a3393e Check Github API 2 months ago
Quentin VIGNAUD 67d1efee0a Disabling Github API 2 months ago
Quentin VIGNAUD e993609125 Avoiding js 2 months ago
Quentin VIGNAUD 06367700ea Trying stuff on Github 2 months ago
Quentin VIGNAUD 88355dae5f Fixing llvm 2 months ago
Quentin VIGNAUD 57dac00c00 Trying things 3 months ago
Quentin VIGNAUD a8a23bb902 Fixing command 3 months ago
Quentin VIGNAUD 2a4824acc2 Trying stuff 3 months ago
Quentin VIGNAUD 7d97a35b1a Debug 3 months ago
Quentin VIGNAUD 57901f8571 Trying with cross 3 months ago
Quentin VIGNAUD c7b28a9cce Chaging image 3 months ago
Quentin VIGNAUD c24725f536 Fixes 3 months ago
Quentin VIGNAUD 8a231441d5 Trying fix 3 months ago
Quentin VIGNAUD 16184a14b8 Fix curl 3 months ago