This may prove useful: > eBPF (often aliased BPF)[2][5] is a technology that can run sandboxed programs in a privileged context such as the operating system kernel.[6] It is used to safely and efficiently extend the capabilities of the kernel at runtime without requiring to change kernel source code or load kernel modules.[7] Safety is provided through an in-kernel verifier which performs static code analysis and rej…
Haven't sandboxed programs in a privileged context been the root cause of me seeing BSOD so often in the late 90ties?
A Beginner's Guide to eBPF
51–60 of 78 posts
Re: A Beginner's Guide to eBPF
#52The parody here is so perfect, they even created the technology they don't bother to define.
Re: A Beginner's Guide to eBPF
#53Re: A Beginner's Guide to eBPF
#54Re: A Beginner's Guide to eBPF
#55In case anyone is interested in writing eBPF programs in Rust https://github.com/vishpat/oxidize-ebpf
Re: A Beginner's Guide to eBPF
#56Earlier quoted context omitted.
You don’t want kernel panic affecting other users
Why would your cloud instance panicking affect other users of the cloud provider? Or do you mean something else?
But in this case I think they mean on the same machine. "In production" would be more accurate than "in a cloud environment". And yeah I wouldn't load custom kernel modules in production just to do observability.
Re: A Beginner's Guide to eBPF
#57Earlier quoted context omitted.
Haven't sandboxed programs in a privileged context been the root cause of me seeing BSOD so often in the late 90ties?
I'm only aware of drivers, which were not sandboxed due to the nature of drivers (at least in late 90ties there was pobably not much of abstraction on that level, kernel features, hardware features available?)
Re: A Beginner's Guide to eBPF
#58Re: A Beginner's Guide to eBPF
#59Earlier quoted context omitted.
You don’t want kernel panic affecting other users
Why would your cloud instance panicking affect other users of the cloud provider? Or do you mean something else?
Re: A Beginner's Guide to eBPF
#60Ever since Brendan Gregg started using eBPF for observability back in 2015 I've had the sense that eBPF is an extremely underrated tool of the future. I really would like to learn it, but beyond some improvised bpftrace scripting and the tools that come with bcc, I've not really had the need. What custom usage do you have for it?