37afde3fca 
								
							
								 
							
						 
						
							
							
								
								aya-gen: fix lint error  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9a642d373f 
								
							
								 
							
						 
						
							
							
								
								aya: fix lint errors  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5390fb1ee1 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #187  from vadorovsky/sk-buff-socket-uid  
							
							... 
							
							
							
							bpf: sk_buff: Add get_socket_uid method to SkBuffContext 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d690710337 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #228  from nak3/fix-socket_filter  
							
							... 
							
							
							
							Fix socket_filter section match 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								3dc9308c8e 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #229  from dave-tucker/fix_cgroup_skb_attach_v2  
							
							... 
							
							
							
							aya: Fix Loading from cgroup/skb sections 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								02c376ceb7 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #224  from Tuetuopay/pod-arrays  
							
							... 
							
							
							
							aya: implement Pod for arrays of Pod types 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5269ab5b1c 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #238  from vadorovsky/fix-doc-set-global  
							
							... 
							
							
							
							bpf: Improve documentation of set_global method 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								7dd2e3d1f8 
								
							
								 
							
						 
						
							
							
								
								bpf: Improve documentation of set_global method  
							
							... 
							
							
							
							Use `static` instead of `const` and mention the necessity of using
`core::ptr::read_volatile`.
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								7fdf37ad51 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #237  from hi120ki/fix-typo-fentry  
							
							... 
							
							
							
							fix typo in aya/src/programs/fentry.rs 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ab462533c7 
								
							
								 
							
						 
						
							
							
								
								fix typo in aya/src/programs/fentry.rs  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								34d74fcd3b 
								
							
								 
							
						 
						
							
							
								
								bpf: sk_buff: Add get_socket_uid method to SkBuffContext  
							
							... 
							
							
							
							This change exposes the BPF helper bpf_socket_get_uid as a public method
of SkBuffContext, which allows to get the owner UID of the socket
associated to the sk_buff stored in the context.
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d3356398f5 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #235  from alessandrod/hash-map-get-mut  
							
							... 
							
							
							
							bpf: hash_map: add get_mut() method 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ecd6a6e96b 
								
							
								 
							
						 
						
							
							
								
								bpf: hash_map: add get_mut() method  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5725a97648 
								
							
								 
							
						 
						
							
							
								
								Fix unit test  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9e41317ca6 
								
							
								 
							
						 
						
							
							
								
								Fix socket_filter section match  
							
							... 
							
							
							
							`BPF_PROG_TYPE_SOCKET_FILTER` program expands the sectionname's kind with `socket` not `socket_filter`.
So current eBPF program with socket filter always fails.
This patch fixes it.
Fix https://github.com/aya-rs/aya/issues/227  
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e0d818ff2d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #234  from xonatius/patch-1  
							
							... 
							
							
							
							Fix typo in README.md 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								49e998dc7e 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix typo in aya/README.md  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ebb91f3c6f 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix typo in README.md  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								01fe3a6b5e 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #231  from nimrodshn/bpf_lpm_trie  
							
							... 
							
							
							
							Add LPMTrie Map to aya-bpf for BPF programs 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d0b6daa091 
								
							
								 
							
						 
						
							
							
								
								Add LPMTrie Map to aya-bpf for BPF programs  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5ee1321765 
								
							
								 
							
						 
						
							
							
								
								aya: Fix Loading from cgroup/skb sections  
							
							... 
							
							
							
							fa037a88e2 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								00e34ec29c 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #222  from aya-rs/dependabot/cargo/parking_lot-0.12.0  
							
							... 
							
							
							
							build(deps): update parking_lot requirement from 0.11.1 to 0.12.0 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								08211f6132 
								
							
								 
							
						 
						
							
							
								
								aya: implement Pod for arrays of Pod types  
							
							... 
							
							
							
							If a type is POD (meaning it can be converted to a byte array), then an
array of such type is POD.
Signed-off-by: Tuetuopay <tuetuopay@me.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5cfecbdd8e 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #232  from dave-tucker/fix_docs  
							
							... 
							
							
							
							ci: lint: aya: Skip doctests with miri 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								3d820ee473 
								
							
								 
							
						 
						
							
							
								
								ci: lint: aya: Skip doctests with miri  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5421b71b5b 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #230  from dave-tucker/fix_docs  
							
							... 
							
							
							
							ci: Fix aya-bpf workflow 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								1f047f0dbe 
								
							
								 
							
						 
						
							
							
								
								ci: Fix aya-bpf workflow  
							
							... 
							
							
							
							This was testing the aya crate with the nightly toolchain which wasn't
what was intented
Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ab7eed2759 
								
									
								
							
								 
							
						 
						
							
							
								
								build(deps): update parking_lot requirement from 0.11.1 to 0.12.0  
							
							... 
							
							
							
							Updates the requirements on [parking_lot](https://github.com/Amanieu/parking_lot ) to permit the latest version.
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.11.1...0.12.0 )
---
updated-dependencies:
- dependency-name: parking_lot
  dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2a18239346 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #161  from nimrodshn/add_lpm_trie  
							
							... 
							
							
							
							Add support for BPF_MAP_TYPE_LPM_TRIE 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c6e66d8080 
								
							
								 
							
						 
						
							
							
								
								Fix   #128 : Add support for BPF_MAP_TYPE_LPM_TRIE map  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								17a3959e87 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #183  from dave-tucker/fix-image-build  
							
							... 
							
							
							
							ci: Fix image build workflow 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d55a47fb3d 
								
							
								 
							
						 
						
							
							
								
								ci: Fix image build workflow  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9f711e44fe 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #182  from dave-tucker/moar-tests  
							
							... 
							
							
							
							Regression Test Framework Improvements 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ce93774e0a 
								
							
								 
							
						 
						
							
							
								
								ci: try running regression tests in a container  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								61c3675b92 
								
							
								 
							
						 
						
							
							
								
								test: Add a check for minimum kernel version  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4bad464c92 
								
							
								 
							
						 
						
							
							
								
								test: Add smoke test for BPF_PROG_TYPE_EXT  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								657fb44525 
								
							
								 
							
						 
						
							
							
								
								test: Add compile_c_ebpf to library  
							
							... 
							
							
							
							This allows for C code to be compiled and used in tests!
It does require libbpf on the host machine though...
Also moved removal of the `user` and `ebpf` dirs created by rust-script
into `lib.sh` and parameterized bits of the XDP smoke test for ease of
copying
Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f41db116ac 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #160  from dave-tucker/test-images  
							
							... 
							
							
							
							test: Add regression tests 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								74ae8ce271 
								
							
								 
							
						 
						
							
							
								
								test: Add regression tests  
							
							... 
							
							
							
							This uses a mix of rust-script, bash, qemu and a test runner called RTF
to add a regression test suite... and wires it into GitHub Actions
Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								6316748ec1 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #179  from dave-tucker/btf_datasec_name  
							
							... 
							
							
							
							btf: Replace / in DATASEC before load to kernel 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								b2182c6c4e 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #177  from alessandrod/ptr-relocs  
							
							... 
							
							
							
							relocate .text references 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f169a3fc6b 
								
							
								 
							
						 
						
							
							
								
								aya: fix func_info/line_info offsets  
							
							... 
							
							
							
							Given the new start instruction offset, rebase func_infos and
line_infos. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8202105b7d 
								
							
								 
							
						 
						
							
							
								
								aya: relocate .text references  
							
							... 
							
							
							
							Handle relocations against .text symbols in all instructions not just
calls. Makes it so that let x = &some_function triggers linking of
some_function in the current program and handles the resulting
relocation accordingly.
Among other things, enables the use of bpf_for_each_map_elem. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								825bb3ad20 
								
							
								 
							
						 
						
							
							
								
								btf: Replace / in DATASEC before load to kernel  
							
							... 
							
							
							
							This replaces the / character with a . which is allowed in the kernel
names. Not allowing a forward slash is perhaps a kernel bug, but lets
fix it up here as it's commonly used for Aya
Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								1904aeaef9 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #175  from dave-tucker/merge_fixup_sanitize  
							
							... 
							
							
							
							aya: Merge Fixup and Sanitzation to single step 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								99fa85eab8 
								
							
								 
							
						 
						
							
							
								
								btf: fix match arms  
							
							... 
							
							
							
							Don't match on kind and use if let...
Match on the BtfType
Fixes : #178 
Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								326825aab0 
								
							
								 
							
						 
						
							
							
								
								tests: add a test for each BTF fix  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4efc2061a8 
								
							
								 
							
						 
						
							
							
								
								btf: fix borrow check errors  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a1b46ece05 
								
							
								 
							
						 
						
							
							
								
								aya: Merge Fixup and Sanitzation to single step  
							
							... 
							
							
							
							Aya will now perform sanitzation and fixups in a single phase, requiring
only one pass over the BTF. This modifies the parsed BTF in place.
Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								06f8938808 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #164  from dave-tucker/btf_verifier  
							
							... 
							
							
							
							aya: Fix BTF verifier output 
							
						 
						
							4 years ago