~/talk

BPF Access Control and CO-RE in Android

links:none on file
slides:none on file

Claim: enabling CO-RE via libbpf on Android lets BPF programs compiled once run across kernel versions but currently vendors only have socket-filter access and want kprobes and tracepoints, which would extend the kernel ABI. Built so far: a single-threaded BPF loader in early init backed by custom headers; proposed change is native libbpf with per-app static linking, attach-point allowlist, and an access-control BPF hook that validates load/attach at syscall level. Unresolved: boot-time and memory impact, how to update the allowlist from userspace, and who owns compatibility when kernels or userlands change.

AI-written summary · about

  1. 0:00Introduction to BPF in Android
  2. 1:31What is BPF and its components
  3. 3:38Android’s current BPF implementation
  4. 5:05Enabling CO-RE in Android
  5. 7:13Native libbpf solution proposal
  6. 8:15Vendor access and security concerns
  7. 10:03Comparison with SELinux approach
  8. 11:07BPF gatekeeper and policy enforcement
  9. 12:10User space vs kernel enforcement
  10. 13:18Kernel and user space compatibility
  11. 14:47Future plans and open questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.