|
|
|
|
|
by dangisafascist
3261 days ago
|
|
I'm not arguing against eBPF the language. It's safety guarantees make sense to me. I'm arguing against the in-kernel eBPF infrastructure: bpf system call, the JIT and the VM. I think it makes more sense to just compile eBPF (or rust or whatever safe language you want) to a kernel module. |
|
Accepting compiled stuff in the form of a kernel module requires root privileges and requires that the kernel essentially have complete trust in the code being loaded.
Loading eBPF eliminates the need to trust the process/user doing the loading to that level.