EBPF SYSCALL PREAMBLE(9)
π«Ά eBPF Syscall Preamble(9) π«Ά
okay bestie, this is the Kernel API Manual intro and itβs giving main-character energy β¨. No cap, itβs short but important.
The operation that the bpf() system call is gonna perform is decided by the cmd argument π
. Every operation takes an accompanying argument, and you hand it over through attr β which is a pointer to a union of type bpf_attr (see below π). The size argument is literally the size of the union that attr points to. Periodt.
β¨ SEE ALSO β¨
- Kernel file
./tools/include/uapi/linux/bpf.h eBPF Syscall Commands(9)
bestie, go peek at those for the full lore π§π
mwah π this page lives in ./tools/include/uapi/linux and is dated October 2026 β Kernel API Manual, you ate and left no crumbs π.
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms