android_system_bpf/loader
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Neill Kapron 2ba22f25e4 BPFloader: Skip global map sections
Certain BPF progams have sections .rodata.str1.1 or <name>.data for
global data. These sections are processed/loaded implicitly by libbpf,
but it may be useful for the developer to pin them. Change the logic so
if a descriptor for these sections is found, pin them. If not, ignore
them and don't cause a failure.

Bug: 401458418
Test: Manual: program with bpf_printk and global data loads.
Change-Id: Ib3be55cf903e24c6692730b57b0ce90c9a9e0795
Signed-off-by: Neill Kapron <nkapron@google.com>
2025-08-13 22:40:12 +00: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: Skip global map sections 2025-08-13 22:40:12 +00:00
Loader.cpp vendorBpfLoader: error handling simplifications 2025-07-16 09:38:26 -07:00