524e3fdd5e 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #29  from dmitris/fmt  
							
							... 
							
							
							
							avoid 'cargo fmt' diffs in generated code 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c35eadc34b 
								
							
								 
							
						 
						
							
							
								
								avoid 'cargo fmt' diffs in generated code  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								1a24fea5fe 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #28  from dmitris/patch-1  
							
							... 
							
							
							
							classifier: don't bail on qdisc_add_clsact error 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4d22913931 
								
									
								
							
								 
							
						 
						
							
							
								
								classifier: don't bail on qdisc_add_clsact error  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								581dc3908a 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #27  from vadorovsky/tokio  
							
							... 
							
							
							
							Use Tokio and simplelog by default 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								de709c52d0 
								
							
								 
							
						 
						
							
							
								
								Use Tokio and simplelog by default  
							
							... 
							
							
							
							Replace ctrlc usage with Tokio and simplelog.
Signed-off-by: Michal Rostecki <mrostecki@opensuse.org> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								31a7d0edb4 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #26  from dmitris/skb-mode  
							
							... 
							
							
							
							for xdp, retry load with SKB_MODE flags 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								21803634d7 
								
							
								 
							
						 
						
							
							
								
								xdp - suggest SKB_MODE on attach failure  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								870853ed30 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #8  from dmitris/patch-1  
							
							... 
							
							
							
							remove unused import std::convert::TryFrom 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c7dfae4933 
								
							
								 
							
						 
						
							
							
								
								import TryFrom only for sk_msg programs  
							
							... 
							
							
							
							Avoid unused_imports warning for std::convert::TryFrom.
Conditionally import it only when it is needed -
in sk_msg programs.
remove unused `std::convert::TryFrom` import to avoid the warning in the generated projects:
```
warning: unused import: `TryFrom`
 --> myapp/src/main.rs:4:15
  |
4 |     convert::{TryFrom,TryInto},
  |               ^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default
warning: `myapp` (bin "myapp") generated 1 warning
``` 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								bc7cd9ad46 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #25  from vadorovsky/fentry  
							
							... 
							
							
							
							fentry/fexit: Add template for fentry/fexit programs 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e1fb8024a6 
								
							
								 
							
						 
						
							
							
								
								fentry/fexit: Add template for fentry/fexit programs  
							
							... 
							
							
							
							Signed-off-by: Michal Rostecki <mrostecki@opensuse.org> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								b0577674b2 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #23  from willfindlay/main  
							
							... 
							
							
							
							xtask/run: fix clippy lint 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								75625e4a86 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #24  from willfindlay/fix-ci  
							
							... 
							
							
							
							ebpf: use new SkBuffContext instead of SkSkbContext 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d4a4f33902 
								
									
								
							
								 
							
						 
						
							
							
								
								ebpf: use new SkBuffContext instead of SkSkbContext  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								dc7eb0410f 
								
									
								
							
								 
							
						 
						
							
							
								
								xtask/run: fix clippy lint  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								292ae61bee 
								
							
								 
							
						 
						
							
							
								
								update to new api in aya main  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e18bfe3e0d 
								
							
								 
							
						 
						
							
							
								
								rename userspace feature to user  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8be4317287 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #21  from willfindlay/include_bytes_aligned  
							
							... 
							
							
							
							userspace: use include_bytes_aligned! instead of --path flag 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								89fb552f98 
								
									
								
							
								 
							
						 
						
							
							
								
								ci: fix ci to work with include_bytes_aligned!  
							
							... 
							
							
							
							This change requires the eBPF program to be built _before_ userspace.
Update CI to do this. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a80359acca 
								
									
								
							
								 
							
						 
						
							
							
								
								userspace: use include_bytes_aligned! instead of --path flag  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e73c561a7c 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #20  from willfindlay/xtask-run  
							
							... 
							
							
							
							implement xtask run subcommand + misc doc fixes 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								329731038b 
								
									
								
							
								 
							
						 
						
							
							
								
								readme: document new cargo xtask run helper  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ee77866a16 
								
									
								
							
								 
							
						 
						
							
							
								
								xtask/build_ebpf: document flags  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ee4336a643 
								
									
								
							
								 
							
						 
						
							
							
								
								xtask/build_ebpf: fix panic message  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d590d3a1ea 
								
									
								
							
								 
							
						 
						
							
							
								
								xtask: implement xtask run subcommand  
							
							... 
							
							
							
							This new subcommand provides a convenient way to run your aya application.
Features include:
    - automatic compilation of userspace + bpf code
    - support for user-defined runners, defaulting to `sudo -E` for convenience
    - no need to run `sudo cargo run` (gross) or `sudo target/debug/myapp` (also gross),
      it just works
    - an optional `-p` flag which automatically supplies the correct --path flag to the
      application
    - support for trailing args after a final -- which are passed to the application,
      cargo run-style 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								509073c454 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #15  from willfindlay/new-lsm-tp-btf  
							
							... 
							
							
							
							update lsm template and add template for tp_btf 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								3f082e713e 
								
									
								
							
								 
							
						 
						
							
							
								
								tp_btf: add template for tp_btf programs  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								7908e8593d 
								
									
								
							
								 
							
						 
						
							
							
								
								lsm: update program.load() to use new signature with &Btf  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a9c18a96cc 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #14  from willfindlay/fix-rust-analyzer  
							
							... 
							
							
							
							lsp: use project-name instead of crate_name to generate Cargo.toml path 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								6fb22fac2d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #12  from willfindlay/lsm  
							
							... 
							
							
							
							template: add a new template for LSM programs 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								b2838bd9eb 
								
									
								
							
								 
							
						 
						
							
							
								
								lsp: use project-name instead of crate_name to generate Cargo.toml path  
							
							... 
							
							
							
							My original patch was broken for crates with names-like-this, since it would incorrectly
add underscores instead of dashes to the pathname. This patch fixes the problem. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								7ffb47cc6b 
								
									
								
							
								 
							
						 
						
							
							
								
								template: add a new template for LSM programs  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								53906e4b13 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #13  from willfindlay/fix-rust-analyzer  
							
							... 
							
							
							
							lsp: fix rust-analyzer support on neovim and vscode 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9849294865 
								
									
								
							
								 
							
						 
						
							
							
								
								lsp: fix rust-analyzer support on neovim and vscode  
							
							... 
							
							
							
							The project structure was messing with rust-analyzer's ability to correctly find the
Cargo.toml for the {{project-name}}-ebpf crate. This patch fixes it by manually defining
the project structure in both vscode and neovim.
Signed-off-by: William Findlay <william@williamfindlay.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								7a536923d6 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #10  from willfindlay/main  
							
							... 
							
							
							
							ebpf: Add rust-analyzer settings for coc.nvim 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								87e5676648 
								
									
								
							
								 
							
						 
						
							
							
								
								ebpf: Add rust-analyzer settings for coc.nvim  
							
							... 
							
							
							
							Mirrors the settings for vscode introduced in e81a33e 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								bf54208f6a 
								
							
								 
							
						 
						
							
							
								
								README: fix run command  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ffa931552e 
								
							
								 
							
						 
						
							
							
								
								ebpf: use core::hint::unreachable_unchecked()  
							
							... 
							
							
							
							unreachable!() can panic when debug assertions is on, and we don't want
that inside a panic handler 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c07fea5fbf 
								
							
								 
							
						 
						
							
							
								
								ebpf: Add rust toolchain override  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e81a33efcb 
								
							
								 
							
						 
						
							
							
								
								ebpf: Add rust-analyzer settings for vscode  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								3158b7a337 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'gen-bump'  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ddbe4013bf 
								
							
								 
							
						 
						
							
							
								
								Fix attach placeholder for kprobes  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								7baf4f5688 
								
							
								 
							
						 
						
							
							
								
								Sleep while waiting for SIGINT  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								1378d64d4f 
								
							
								 
							
						 
						
							
							
								
								bump cargo-generate minimum version  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								78aad8a58d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #9  from dmitris/patch-2  
							
							... 
							
							
							
							CI: fix cargo install command for cargo-generate 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2dfbeb8371 
								
									
								
							
								 
							
						 
						
							
							
								
								CI: fix cargo install command for cargo-generate  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								6d30972fdb 
								
							
								 
							
						 
						
							
							
								
								ebpf: set debug = 1 to avoid a potential segfault in LLVM  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								dcf738cd46 
								
							
								 
							
						 
						
							
							
								
								Switch git urls to aya-rs  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								566934ccb6 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3  from aya-rs/skel  
							
							... 
							
							
							
							Use cargo-generate conditionals to provide skeletons for all supported program types 
							
						 
						
							4 years ago