6b21a5c48b 
								
									
								
							
								 
							
						 
						
							
							
								
								Use destructuring  
							
							
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								0fb058e89f 
								
									
								
							
								 
							
						 
						
							
							
								
								Use TCP listener instead of stream  
							
							... 
							
							
							
							This doesn't require a listener on the other side. 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								9cbf55d291 
								
									
								
							
								 
							
						 
						
							
							
								
								Use cancel-in-progress  
							
							
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								b6ecbb8bd1 
								
							
								 
							
						 
						
							
							
								
								Appease shellcheck  
							
							
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								7425e7bd2d 
								
							
								 
							
						 
						
							
							
								
								Add Rust 1.80.1 to CI  
							
							
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								8250a09bc0 
								
							
								 
							
						 
						
							
							
								
								Add rustfmt to CI  
							
							
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								5811d6ff56 
								
							
								 
							
						 
						
							
							
								
								Replace xtask builds with build scripts  
							
							... 
							
							
							
							Adapt https://github.com/aya-rs/aya/commit/3d463a3  and subsequent work
to the template. This has worked very well for us in the main project,
and our users should get the same hotness.
Note that xtask is still used for running, as it is in the main project. 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								4da4bf4729 
								
							
								 
							
						 
						
							
							
								
								Run clippy in CI  
							
							... 
							
							
							
							Install Rust stable *after* nightly so that the default is stable. 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								ee45752006 
								
							
								 
							
						 
						
							
							
								
								Move dependencies to workspace  
							
							... 
							
							
							
							Add "{{project-name}}-ebpf" to workspace. Update various cargo configs
to match main aya repo. 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								e064758d59 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #122  from cppcoffee/main  
							
							... 
							
							
							
							Update aya version to 0.13 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								d889dd373b 
								
							
								 
							
						 
						
							
							
								
								Upgrade aya version  
							
							... 
							
							
							
							Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								44c1f66b7e 
								
							
								 
							
						 
						
							
							
								
								ebpf: merge rust-analyzer settings  
							
							... 
							
							
							
							Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								04b631eb7c 
								
							
								 
							
						 
						
							
							
								
								ebpf: consolidate rust-analyzer settings  
							
							... 
							
							
							
							Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								91518b64b3 
								
							
								 
							
						 
						
							
							
								
								Build on ubuntu-22.04  
							
							... 
							
							
							
							This matches the version used in the bpf-linker binstall job. Otherwise
we fail with:
```
  = note: bpf-linker: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by bpf-linker)
          bpf-linker: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by bpf-linker)
          bpf-linker: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by bpf-linker)
```
Add a nightly build so we catch these earlier. 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								0afbca858c 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: remove Cargo.lock from .gitignore ( #113 )  
							
							... 
							
							
							
							Fixes  #112  
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								79b73bf2ef 
								
							
								 
							
						 
						
							
							
								
								fix: emacs directory locals  
							
							... 
							
							
							
							- Emacs vectors do not have "," separator.
- The .dir-locals.el list is checked against major mode names, but
  lsp-mode could be a minor mode. Use the generic prog-mode instead. 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								d3435676f7 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: add emacs directory locals to configure rust-analyzer ( #109 )  
							
							... 
							
							
							
							.dir-locals.el is the emacs equivalent of .vim directory in the project here.
This PR adds a simple configuration to map the same rust-analyzer
configuration variable as the vim version to make use of new aya
projects seamless with emacs projects that use emacs-lsp + rust analyzer. 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								a006355e62 
								
									
								
							
								 
							
						 
						
							
							
								
								lsp: support rust-analyzer on helix editor ( #103 )  
							
							... 
							
							
							
							This patch allows the helix editor to correctly initialize the
rust-analyzer when opening a source file from {{project-name}}-ebpf.
To find the Cargo.toml the helix editor must be launched from
the {{project-name}}-ebpf directory or provide the workspace path
as follows:
hx -w <path to {{project-name}}-ebpf> [relative path in {{project-name}}-ebpf]
The patch was tested using helix version 23.10. 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								2ad877309a 
								
							
								 
							
						 
						
							
							
								
								build: Set `resolver = "2"` at the workspace's Cargo.toml  
							
							... 
							
							
							
							This is the default resolver for the 2021 edition, but needs to be set
manually in virtual workspaces.
https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html#detail  
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								d9ce1b7169 
								
							
								 
							
						 
						
							
							
								
								ebpf: use TC_ACT_PIPE in classifier  
							
							... 
							
							
							
							Demonstrate using the correct constant instead of a magic number. 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								7c143de8af 
								
									
								
							
								 
							
						 
						
							
							
								
								add a build command ( #108 )  
							
							... 
							
							
							
							Add a new command to build ebpf and userspace programs without running.
```
cargo xtask build
```
Co-authored-by: Michal Rostecki <vadorovsky@protonmail.com> 
							
						 
						
							1 year ago  
				
					
						
							
							
								 
						
							
							
								f642921fee 
								
							
								 
							
						 
						
							
							
								
								chore: Use `aya`, `aya-ebpf` and `aya-log` from crates.io  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								97e817d110 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: Rename aya-bpf to aya-ebpf ( #106 )  
							
							... 
							
							
							
							aya-bpf crate got renamed to aya-ebpf. Reflect this change
in the template. 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								1185fd49d2 
								
							
								 
							
						 
						
							
							
								
								Fix sk_msg.  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								3bee1bcc0f 
								
							
								 
							
						 
						
							
							
								
								Reverse of sk_msg.  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								17fe98c37c 
								
							
								 
							
						 
						
							
							
								
								Have no idea about this failed.  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								5d04aef980 
								
							
								 
							
						 
						
							
							
								
								Try fix the usage of fd().  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								c68f239ad0 
								
							
								 
							
						 
						
							
							
								
								Try fix test failed. Let's see if that would pass.  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								628e6a4f81 
								
							
								 
							
						 
						
							
							
								
								Fix unchanged Bpf reference. Would check sock_map latter.  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								bc61bdeeba 
								
							
								 
							
						 
						
							
							
								
								Rename aya-bpf to aya-ebpf.  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								dce5317f2c 
								
							
								 
							
						 
						
							
							
								
								Rename aya-bpf to aya-ebpf.  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								9dc5296e47 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #100  from aya-rs/dependabot/github_actions/actions/checkout-4  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								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> 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								1247fdea1d 
								
							
								 
							
						 
						
							
							
								
								socket_filter: fix build  
							
							... 
							
							
							
							The signature of attach changed in
https://github.com/aya-rs/aya/pull/723 . 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								599ba4bdf9 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #99  from dave-tucker/new-names  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								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> 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								bccd6d3cb6 
								
							
								 
							
						 
						
							
							
								
								ebpf: Don't use name in macros  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								afdb45341f 
								
							
								 
							
						 
						
							
							
								
								Remove branch specifications  
							
							... 
							
							
							
							The branch should be dictated by the repository. 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								d65e6d2bb6 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #94  from liyan-ah/main  
							
							... 
							
							
							
							Allow process to lock memory for eBPF resources. 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								288919127c 
								
									
								
							
								 
							
						 
						
							
							
								
								Update main.rs  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								2aeba1b85d 
								
									
								
							
								 
							
						 
						
							
							
								
								Update {{project-name}}/src/main.rs  
							
							... 
							
							
							
							Co-authored-by: Alessandro Decina <alessandro.d@gmail.com> 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								c6ece63d97 
								
									
								
							
								 
							
						 
						
							
							
								
								Update main.rs  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								506ce7ec3d 
								
							
								 
							
						 
						
							
							
								
								make warn info more informative.  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								0f4584ef7a 
								
							
								 
							
						 
						
							
							
								
								remove whitespace.  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								d22827603d 
								
							
								 
							
						 
						
							
							
								
								remove white line.  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								f3eb374c3e 
								
							
								 
							
						 
						
							
							
								
								remove rlimit use.  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								bc2db6b112 
								
							
								 
							
						 
						
							
							
								
								use libc instead of rlimit.  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								f8639db35a 
								
							
								 
							
						 
						
							
							
								
								add memlock remove.  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								d0e4a02fe2 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #93  from aya-rs/dependabot/github_actions/actions/checkout-3  
							
							
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								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> 
							
						 
						
							2 years ago