Finer-grained BPF tokens
Finer-grained BPF tokens
Posted Oct 12, 2023 22:27 UTC (Thu) by bluca (subscriber, #118303)In reply to: Finer-grained BPF tokens by tohojo
Parent article: Finer-grained BPF tokens
Sure, it doesn't help with the jit-compiled ones, but one can conceivably restrict that and be limited to pre-compiled programs only. But it was rejected in favour of a different bpf-native approach, that after 2 years sadly hasn't happened yet.
Posted Oct 13, 2023 9:48 UTC (Fri)
by tohojo (subscriber, #86756)
[Link]
For container deployments we are also experimenting with just doing everything in userspace: https://bpfd.dev/
Finer-grained BPF tokens
This uses a "system daemon will load BPF on your behalf" model, and will allow arbitrary verification (including through signatures). But of course it requires you to trust the system daemon, and it precludes some of the dynamic code generation stuff that John was talking about in that thread you linked. So again, tradeoffs...