|
|
|
|
|
by tptacek
1098 days ago
|
|
The BPF verifier doesn't simply count instructions (though there is a maximum instruction count as a failsafe). It can't: eBPF programs are JIT'd down to machine code --- that's part of what makes eBPF so attractive, because the code you're running is comparably fast to the "native" kernel code. Instead, it refuses to admit programs that can't be proven to constrain their loops. |
|
I know this is a bit of an aside. The point still stands about the user not wanting their bpf program to terminate at runtime investment.