Skip to content

Sandboxed kernel programs

Step 3 of 9Solution
BLAST RADIUS
contained
LOADING
dynamic
EXECUTION
event-driven
APP CHANGES
none
  • syscall / bpf() load
  • verified native exec
  • kernel event / hook
Kernel Space & eBPF VM, step 3 of 9

eBPF (extended Berkeley Packet Filter) lets you load small bytecode programs into a running Linux kernel via the bpf() syscall—no reboot, no kernel source edits, and no app changes.

Programs are event-driven: they stay idle until a kernel hook fires—a packet arriving on a NIC, a tracepoint firing, or a user-space TLS function running.

What changed

  • Raw C module → bytecode loaded via bpf()
  • Always-running thread → fires only on hook event
  • Unchecked memory → verified before attach

Type to search…

↑↓ navigate↵ selectEsc close