Re:BPF port-based firewall for systemd services
by jdc on Friday August 30, 2019 @01:13PM
(#20840485)
I'm thoroughly skeptical that general acceptance means that JIT compilation doesn't increase the attack surface of the stack.
[ Parent
| on HN ]
Re:BPF port-based firewall for systemd services
by Dylan16807 on Friday August 30, 2019 @06:18PM
(#20843224)
You'd need an interpreter at least, to avoid some kind of hideously complex system.
So it's a question of interpreter vs. JIT, and a JIT makes it more feasible to use an ultra-simple language with aggressive verification, without losing too much speed.
Every feature has an attack surface, but you have to compare against the alternative, not the lack of feature.
(This assumes that you can't force it to use a kernel interpreter despite the JIT existing. Otherwise perhaps that is the part that should be disabled.)