183 Commits (f642921feec9feaaae38eaf90a35d369750bac4e)
 

Author SHA1 Message Date
Michal Rostecki f642921fee chore: Use `aya`, `aya-ebpf` and `aya-log` from crates.io 5 months ago
Michal Rostecki 97e817d110
chore: Rename aya-bpf to aya-ebpf (#106)
aya-bpf crate got renamed to aya-ebpf. Reflect this change
in the template.
6 months ago
blacker1230 1185fd49d2 Fix sk_msg. 6 months ago
pdliyan 3bee1bcc0f Reverse of sk_msg. 6 months ago
pdliyan 17fe98c37c Have no idea about this failed. 6 months ago
pdliyan 5d04aef980 Try fix the usage of fd(). 6 months ago
pdliyan c68f239ad0 Try fix test failed. Let's see if that would pass. 6 months ago
pdliyan 628e6a4f81 Fix unchanged Bpf reference. Would check sock_map latter. 6 months ago
pdliyan bc61bdeeba Rename aya-bpf to aya-ebpf. 6 months ago
pdliyan dce5317f2c Rename aya-bpf to aya-ebpf. 6 months ago
dependabot[bot] 9dc5296e47
Merge pull request #100 from aya-rs/dependabot/github_actions/actions/checkout-4 1 year ago
dependabot[bot] 6abd727868
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Tamir Duberstein 1247fdea1d socket_filter: fix build
The signature of attach changed in
https://github.com/aya-rs/aya/pull/723.
1 year ago
Dave Tucker 599ba4bdf9
Merge pull request #99 from dave-tucker/new-names 1 year ago
Dave Tucker 162599934c ci: Use taiki-e/install-action
This should binstall cargo-generate to save CI time

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
1 year ago
Dave Tucker bccd6d3cb6 ebpf: Don't use name in macros
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
1 year ago
Tamir Duberstein afdb45341f Remove branch specifications
The branch should be dictated by the repository.
1 year ago
Alessandro Decina d65e6d2bb6
Merge pull request #94 from liyan-ah/main
Allow process to lock memory for eBPF resources.
1 year ago
liyan 288919127c
Update main.rs 1 year ago
liyan 2aeba1b85d
Update {{project-name}}/src/main.rs
Co-authored-by: Alessandro Decina <alessandro.d@gmail.com>
1 year ago
liyan c6ece63d97
Update main.rs 1 year ago
pdliyan 506ce7ec3d make warn info more informative. 1 year ago
pdliyan 0f4584ef7a remove whitespace. 1 year ago
pdliyan d22827603d remove white line. 1 year ago
pdliyan f3eb374c3e remove rlimit use. 1 year ago
pdliyan bc2db6b112 use libc instead of rlimit. 1 year ago
pdliyan f8639db35a add memlock remove. 1 year ago
dependabot[bot] d0e4a02fe2
Merge pull request #93 from aya-rs/dependabot/github_actions/actions/checkout-3 1 year ago
dependabot[bot] 1a1d2b625e
Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Tamir Duberstein b14a75f692 github: add dependabot 1 year ago
Tamir Duberstein 0c06a47bc2 Remove redundant instructions
We just need to install bpf-linker; the rest of this is already encoded
in rust-toolchain.toml.

Fixes #83.
1 year ago
Tamir Duberstein d6334c269a
github: add rust-cache
Fixes #50.
1 year ago
Alessandro Decina 69ea57ac54
Merge pull request #90 from aya-rs/fix-tests
Fix sk_msg tests
1 year ago
Tamir Duberstein 3013ab506d
Fix sk_msg tests
These were broken by #89 which pulled in
https://github.com/aya-rs/aya/pull/397 and other changes which were not
reflected in the templates.
1 year ago
Arindam Das b45787c353
fix: fixes aya and aya-log version mismatch (#89)
Fixes aya and aya-log version mismatch between {{project-name}}-epbf and {{project-name}} crates.

Fixes https://github.com/aya-rs/aya/issues/565.
1 year ago
Alessandro Decina 8e92b72545
Merge pull request #86 from tamird/actions-rs
Replace actions-rs/toolchain with dtolnay/rust-toolchain
1 year ago
Tamir Duberstein 37654a088e
Replace actions-rs/toolchain with dtolnay/rust-toolchain
See https://github.com/actions-rs/toolchain/issues/216; actions-rs seems
to be unmaintained.
1 year ago
Alessandro Decina 4ce0e28314
Merge pull request #82 from dmitris/nightly-text
sync rustup nightly install directions with Book
2 years ago
Dmitry Savintsev 732b7ea930 sync run nightly install directions with Book
Signed-off-by: Dmitry Savintsev <dsavints@gmail.com>
2 years ago
vadorovsky b00519ff0d
Merge pull request #81 from dmitris/deps-upd
upgrade deps: tokio and anyhow
2 years ago
Dmitry Savintsev 715967772f upgrade deps: tokio and anyhow 2 years ago
Michal Rostecki 6a605e08dd
Merge pull request #80 from dmitris/toml-space
minor space fix for VSCode toml formatting
2 years ago
Dmitry Savintsev 347d37c914 minor space fix for VSCode toml formatting
Signed-off-by: Dmitry Savintsev <dsavints@gmail.com>
2 years ago
Michal Rostecki 16b8d42238
Merge pull request #78 from vadorovsky/unpin-nightly
Unpin Rust nightly
2 years ago
Michal Rostecki 11f406414e Unpin Rust nightly
The issues with core::sync::atomic got fixed.

Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
2 years ago
Michal Rostecki 80a7c5b53c
Merge pull request #77 from dmitris/crossplat
Remove unix-specific executor in xtask
2 years ago
Dmitry Savintsev 7008f570b0 fail with descriptive message
Co-authored-by: Michal Rostecki <vadorovsky@gmail.com>
2 years ago
Dmitry Savintsev 255c59cf98 Remove unix-specific executor in xtask
Change unix-specific executor to generic one
to enable xtask working on Windows and eventually
be able to cross-compile on Windows.

Fixes #76.

Signed-off-by: Dmitry Savintsev <dsavints@gmail.com>
2 years ago
Michal Rostecki e03b1f6979
Merge pull request #75 from dmitris/fix-uprobe
Fix uprobe programs and VSCode spacing
2 years ago
Dmitry Savintsev 7016308147 fix uprobe programs
Signed-off-by: Dmitry Savintsev <dsavints@gmail.com>
2 years ago