android_system_bpf/loader
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kalesh Singh d49152733c bpfloader: Sanitize BPF prog and map pin paths
Replace periods with underscores in prog/map pin paths to align with
libbpf's sanitize_pin_path() behavior. The BPF filesystem (bpffs)
disallows periods in filenames, and this change prevents pinning
errors for maps with names containing them, such as .rodata sections.

Bug: 419635765
Bug: 438637519
Test: manual, load maps names containing . from ag/35064705
Change-Id: I55dd4caf38c3ccc39bccd6ea670b647c330d6793
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
2025-08-15 13:29:11 -07:00
..
include simplify libbpf_android.h 2025-07-15 23:40:18 -07:00
Android.bp Merge "Use platform bpf_helpers.h and bpf_map_def.h for platform bpfloader" into main 2025-06-18 04:40:48 -07:00
bpfloader.rs bpfloader: Sanitize BPF prog and map pin paths 2025-08-15 13:29:11 -07:00
Loader.cpp vendorBpfLoader: error handling simplifications 2025-07-16 09:38:26 -07:00