419448ed1a 
								
							
								 
							
						 
						
							
							
								
								changed memset back not to return anything  
							
							... 
							
							
							
							Signed-off-by: Quentin JEROME <qjerome@users.noreply.github.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								a51c9bc532 
								
							
								 
							
						 
						
							
							
								
								fixed indent  
							
							... 
							
							
							
							Signed-off-by: Quentin JEROME <qjerome@users.noreply.github.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								5b4fc9ea93 
								
							
								 
							
						 
						
							
							
								
								removed useless line break and comments  
							
							... 
							
							
							
							Signed-off-by: Quentin JEROME <qjerome@users.noreply.github.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								74bc754862 
								
							
								 
							
						 
						
							
							
								
								add debug messages  
							
							... 
							
							
							
							Signed-off-by: Quentin JEROME <qjerome@users.noreply.github.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b5c2928b0e 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #582  from marysaka/feature/no-kern-read-sanitizer  
							
							... 
							
							
							
							aya: Add sanitize code for kernels without bpf_probe_read_kernel 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								1132b6e01b 
								
							
								 
							
						 
						
							
							
								
								aya: Add sanitize code for kernels without bpf_probe_read_kernel  
							
							... 
							
							
							
							Required for kernel before 5.5.
Also move Features to aya-obj. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b0f999419e 
								
							
								 
							
						 
						
							
							
								
								make memset return u8  
							
							... 
							
							
							
							Signed-off-by: Quentin JEROME <qjerome@users.noreply.github.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								4e41da6a86 
								
							
								 
							
						 
						
							
							
								
								Fixed BTF linkage of memset and memcpy to static  
							
							... 
							
							
							
							Signed-off-by: Quentin JEROME <qjerome@users.noreply.github.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								edd9928314 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #580  from marysaka/fix/bpf_create_map_panic  
							
							... 
							
							
							
							aya: Do not use unwrap with btf_fd in bpf_create_map 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								858f77bf2c 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #581  from marysaka/fix/datasec-struct-conversion  
							
							... 
							
							
							
							aya-obj: fix DATASEC to STRUCT conversion 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								4e33fa011e 
								
							
								 
							
						 
						
							
							
								
								aya-obj: fix DATASEC to STRUCT conversion  
							
							... 
							
							
							
							This fix the following issues:
- Previously the DATASEC name wasn't sanitized resulting on "Invalid
  name" returned by old kernels.
- The newly created BTF struct had a size of 0 making old kernels refuse
  it.
This was tested on Debian 10 with kernel 4.19.0-21. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								7c25fe90a9 
								
							
								 
							
						 
						
							
							
								
								aya: Do not use unwrap with btf_fd in bpf_create_map  
							
							... 
							
							
							
							Fixes a crash when trying to create a map of type BPF_MAP_TYPE_PERCPU_ARRAY when btf_fd is None.
Tested on Ubuntu 18.04 (4.15.0-202-generic) 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								542ada3fe7 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #572  from alessandrod/reloc-fixes  
							
							... 
							
							
							
							Add tests for relocations + fixes 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								3a8380df26 
								
							
								 
							
						 
						
							
							
								
								integration-test: expand full path for IntegrationTest  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								93ac3e94bc 
								
							
								 
							
						 
						
							
							
								
								aya: support relocations across multiple text sections + fixes  
							
							... 
							
							
							
							Fix R_BPF_64_64 text relocations in sections other than .text (for
instance .text.unlikely). Also fix misc bugs triggered by integration
tests. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b2b9bd2edf 
								
							
								 
							
						 
						
							
							
								
								integration tests: add relocation tests  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b25a089819 
								
							
								 
							
						 
						
							
							
								
								aya-obj: change two drain() calls to into_iter()  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								401ea5e848 
								
							
								 
							
						 
						
							
							
								
								aya, aya-obj: refactor map relocations  
							
							... 
							
							
							
							Clearly split the code between `.maps`, `maps` and data maps (bss, data,
rodata). Sprinkle comments.
Remove MapKind which was effectively only needed since we used to have
one variant - BpfSectionKind::Data - to represent all data maps. Instead
add explicit BpfSectionKind::{Data, Rodata, Bss} variants and match on
those when we initialize maps. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								5c4f1d69a6 
								
							
								 
							
						 
						
							
							
								
								aya-obj: rework `maps` section parsing  
							
							... 
							
							
							
							Avoid allocations and add comments explaining how things work. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								bc8f4ef1c8 
								
							
								 
							
						 
						
							
							
								
								integration-tests: rename relocations to btf_relocations  
							
							... 
							
							
							
							In preparation of adding actual ELF relocation tests 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								23ce42da68 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #573  from vadorovsky/integration-release  
							
							... 
							
							
							
							integration-tests: Build eBPF programs always with release profile 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								ed9c2a1780 
								
							
								 
							
						 
						
							
							
								
								integration-tests: Build eBPF programs always with release profile  
							
							... 
							
							
							
							Also, add the `codegen-unit` option to the profile. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								fcc8a0d50d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #570  from aya-rs/dependabot/cargo/num_enum-0.6  
							
							... 
							
							
							
							build(deps): update num_enum requirement from 0.5 to 0.6 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b10a31183b 
								
									
								
							
								 
							
						 
						
							
							
								
								build(deps): update num_enum requirement from 0.5 to 0.6  
							
							... 
							
							
							
							Updates the requirements on [num_enum](https://github.com/illicitonion/num_enum ) to permit the latest version.
- [Release notes](https://github.com/illicitonion/num_enum/releases )
- [Commits](https://github.com/illicitonion/num_enum/compare/0.5.0...0.6.0 )
---
updated-dependencies:
- dependency-name: num_enum
  dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								04f4841ede 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #567  from Tuetuopay/tests-fedora-38  
							
							... 
							
							
							
							tests: use fedora 38 beta with testing repo 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								3655cd1e02 
								
							
								 
							
						 
						
							
							
								
								tests: use fedora 38 beta with testing repo  
							
							... 
							
							
							
							Now that bpf-linker uses llvm 16, the easiest way is to use Fedora 38
Beta with the testing repos as they have it, without resorting to
Rawhide.
See https://packages.fedoraproject.org/pkgs/llvm/llvm/ . 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								85714d5cf3 
								
							
								 
							
						 
						
							
							
								
								review  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								6dfb9d82af 
								
							
								 
							
						 
						
							
							
								
								macro  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								17f497ce42 
								
							
								 
							
						 
						
							
							
								
								program_section  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								6a25d4ddec 
								
							
								 
							
						 
						
							
							
								
								obj  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b13070a342 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #557  from drewvis/main  
							
							... 
							
							
							
							Add check for empty tracefs mounts 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								bcb2972a96 
								
							
								 
							
						 
						
							
							
								
								aya: make it possible to use set_global() with slices of Pod(s)  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								8f64cf8cd5 
								
							
								 
							
						 
						
							
							
								
								Added code check comment  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								3a2c0cd1dd 
								
							
								 
							
						 
						
							
							
								
								Add check for empty tracefs mounts  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								8ef00c4c63 
								
							
								 
							
						 
						
							
							
								
								Revert "aya: make it possible to use set_global() with slices of Pod(s)"  
							
							... 
							
							
							
							This reverts commit b614ffd603 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								dfbe1207c1 
								
							
								 
							
						 
						
							
							
								
								aya-obj: fix compilation with nightly  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b614ffd603 
								
							
								 
							
						 
						
							
							
								
								aya: make it possible to use set_global() with slices of Pod(s)  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								6404108aa9 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #554  from 0xrawsec/fix-issue-552  
							
							... 
							
							
							
							fix issue #552  
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								d031ce78bf 
								
							
								 
							
						 
						
							
							
								
								fix issue  #552  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								d6319f95c9 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #548  from kriomant/feature-xdp-attach-by-index  
							
							... 
							
							
							
							aya: Allow to attach XDP probe by interface index 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								ce60854934 
								
							
								 
							
						 
						
							
							
								
								Don't leak libc types  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								896e3ab313 
								
							
								 
							
						 
						
							
							
								
								Fix formatting  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								676b5cdc0d 
								
							
								 
							
						 
						
							
							
								
								Rename method and fix comment  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								2e3c1779be 
								
							
								 
							
						 
						
							
							
								
								aya: Allow to attach XDP probe by interface index  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								113e3ef018 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #539  from marysaka/fix/map_data_clone  
							
							... 
							
							
							
							aya: Fix MapData Clone implementation 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								94049ec661 
								
							
								 
							
						 
						
							
							
								
								aya: Fix MapData Clone implementation  
							
							... 
							
							
							
							The Clone implementation of MapData was previously not storing the
result of the dup operation. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								8684a5783d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #537  from aya-rs/codegen  
							
							... 
							
							
							
							Update libbpf to a41e6ef3251cba858021b90c33abb9efdb17f575 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								24f15ea25f 
								
							
								 
							
						 
						
							
							
								
								[codegen] Update libbpf to a41e6ef3251cba858021b90c33abb9efdb17f575Update libbpf to a41e6ef3251cba858021b90c33abb9efdb17f575  
							
							... 
							
							
							
							Files changed:
M	aya-obj/src/generated/btf_internal_bindings.rs
M	aya-obj/src/generated/linux_bindings_aarch64.rs
M	aya-obj/src/generated/linux_bindings_armv7.rs
M	aya-obj/src/generated/linux_bindings_riscv64.rs
M	aya-obj/src/generated/linux_bindings_x86_64.rs
M	bpf/aya-bpf-bindings/src/aarch64/bindings.rs
M	bpf/aya-bpf-bindings/src/armv7/bindings.rs
M	bpf/aya-bpf-bindings/src/riscv64/bindings.rs
M	bpf/aya-bpf-bindings/src/x86_64/bindings.rs 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								7e4454d061 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #532  from Tuetuopay/cpudevmap-bindings  
							
							... 
							
							
							
							xtask: generate userspace bindings for bpf_{cpu,dev}map_val 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								23e7c65244 
								
							
								 
							
						 
						
							
							
								
								xtask: generate userspace bindings for bpf_{cpu,dev}map_val  
							
							
							
						 
						
							3 years ago