No description. Add one?
  • C 52.6%
  • Rust 25.3%
  • C++ 22.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Motomu Utsumi 315feea5fc Fix kernel version check for program loading
Before this CL, the kernel version check occurred after all programs
were loaded by `open_file.load()`.

This CL moves the check before `open_file.load()`. It calls
`prog.set_autoload(false)` for programs incompatible with the current
kernel, preventing their auto-load by libbpf.

Test: Verify the program is not loaded if the kver is out of range
Bug: 410982483
Change-Id: Ifacd9dd8696a7bb4fd186ad1faf01fba9f021c6d
2025-05-21 15:29:27 +09:00
include Add LLVM eBPF builtins methods to android_bpf_defs.h 2025-05-14 12:41:56 +09:00
loader Fix kernel version check for program loading 2025-05-21 15:29:27 +09:00
progs Update program name in bpfRingbufProg.c 2025-05-14 12:48:09 +09:00
.clang-format Replace clang-format with symlink. 2019-01-18 14:26:33 -08:00
Android.bp Add -Wshadow to bpf_cc_defaults 2025-03-21 16:27:05 +09:00
NOTICE Fix the build problem with bpf project 2018-10-16 21:17:12 -07:00
OWNERS Move OWNER reference master=>main. 2023-07-18 17:09:29 +00:00
OWNERS_bpf mark most bpf owners as LAST_RESORT_SUGGESTION 2025-02-04 14:07:42 -08:00
PREUPLOAD.cfg Fix the build problem with bpf project 2018-10-16 21:17:12 -07:00
rustfmt.toml BpfLoader-rs: add rustfmt.toml symlink 2024-11-12 23:28:40 +00:00
TEST_MAPPING Add test for parsing kernel release string 2025-05-16 15:07:13 +09:00