e01.org

EBPF

eBPF is a technology that can run programs in a privileged context such as the operating system kernel. It is the successor to the Berkeley Packet Filter (BPF, with the "e" originally meaning "extended") filtering mechanism in Linux and is also used in non-networking parts of the Linux kernel. It is used to safely and efficiently extend the capabilities of the kernel at runtime without requiring changes to kernel source code or loading kernel modules. Safety is provided through an in-kernel verifier which performs static code analysis and rejects programs which crash, hang or otherwise interfere with the kernel negatively. This validation model differs from sandboxed environments, where the execution environment is restricted and the runtime has no insight about the program. Examples of programs that are automatically rejected are programs without strong exit guarantees (i.e. for/while loops without exit conditions) and programs dereferencing pointers without safety checks.

eBPF is a technology that can run programs in a privileged context such as the operating system kernel. It is the successor to the Berkeley Packet Filter (BPF, with the "e" originally meaning "extended") filtering mechanism in Linux and is also used in non-networking parts of the Linux kernel. It is used to safely and efficiently extend the capabilities of the kernel at runtime without requiring changes to kernel source code or loading kernel modules. Safety is provided through an in-kernel verifier which performs static code analysis and rejects programs which crash, hang or otherwise interfere with the kernel negatively. This validation model differs from sandboxed environments, where the execution environment is restricted and the runtime has no insight about the program. Examples of programs that are automatically rejected are programs without strong exit guarantees (i.e. for/while loops without exit conditions) and programs dereferencing pointers without safety checks. ==Further reading== eBPF documentary - Documentary on the beginnings of eBPF

References

  1. ^ Hedam, Niclas (26 May 2023). "eBPF - From a Programmer's Perspective" (PDF) . doi : 10.13140/RG.2.2.33688.11529/4 . Wikipedia revision 1373386148, retrieved 2026-11-18 · 1794956400.0
  2. ^ "Linus Torvalds talks about coming back to work on Linux" . zdnet Interview with Linus Torvalds . 23 October 2018 . Retrieved 1 July 2022 . Wikipedia revision 1373386148, retrieved 2026-11-18 · 1794956400.0
  3. ^ a b c "Making eBPF work on Windows" . Microsoft Open Source Blog . 10 May 2021 . Retrieved 1 July 2022 . Wikipedia revision 1373386148, retrieved 2026-11-18 · 1794956400.0
  4. ^ a b c d e "BPF Internals" . USENIX LISA 2021 conference . 1 June 2021 . Retrieved 1 July 2022 . Wikipedia revision 1373386148, retrieved 2026-11-18 · 1794956400.0
  5. ^ "Linux BPF Superpowers" . Brendan Gregg 's Blog . 5 March 2016 . Retrieved 1 July 2022 . Wikipedia revision 1373386148, retrieved 2026-11-18 · 1794956400.0
  6. ^ "Safe Programs The Foundation of BPF" . eBPF Summit 2021 . 8 November 2020 . Retrieved 1 July 2022 . Wikipedia revision 1373386148, retrieved 2026-11-18 · 1794956400.0
  7. ^ "BPF and Spectre: Mitigating transient execution attacks" . POPL 2022 conference . 22 January 2022 . Retrieved 1 July 2022 . Wikipedia revision 1373386148, retrieved 2026-11-18 · 1794956400.0
  8. ^ a b "eBPF Documentation: What is eBPF?" . eBPF.io . Retrieved 1 July 2022 . Wikipedia revision 1373386148, retrieved 2026-11-18 · 1794956400.0
  9. ^ "eBPF - Rethinking the Linux Kernel" . QCon 2020 . Retrieved 1 July 2022 . Wikipedia revision 1373386148, retrieved 2026-11-18 · 1794956400.0
  10. ^ "eBPF - The Silent Platform Revolution from Cloud Native" (PDF) . SIGCOMM 2023, 1st Workshop on eBPF and Kernel Extensions . 10 September 2023 . Retrieved 5 October 2023 . Wikipedia revision 1373386148, retrieved 2026-11-18 · 1794956400.0
  11. ^ "Classic BPF vs eBPF" . LWN . March 2014 . Retrieved 6 January 2023 . Wikipedia revision 1373386148, retrieved 2026-11-18 · 1794956400.0
  12. ^ "eBPF and Kubernetes: Little Helper Minions for Scaling Microservices" . CNCF KubeCon + CloudNativeCon Europe 2020 . 19 August 2020 . Retrieved 1 July 2022 . Wikipedia revision 1373386148, retrieved 2026-11-18 · 1794956400.0
  13. ^ a b c "Meta, Google, Isovalent, Microsoft and Netflix Launch eBPF Foundation as Part of the Linux Foundation" . Linux Foundation . 12 August 2021 . Retrieved 1 July 2022 . Wikipedia revision 1373386148, retrieved 2026-11-18 · 1794956400.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"EBPF". 1788624020. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1373386148

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·