Halting problem
Halting problem
Posted Dec 4, 2018 12:25 UTC (Tue) by nix (subscriber, #2304)In reply to: Halting problem by corbet
Parent article: Bounded loops in BPF programs
(Really, it's a shame the verifier and JITters have to run in kernel space: this sort of work seems like the sort of thing far better done by an upcall to something in userspace, unprivileged but only installable by root -- only that would stop BPF from being used to protect the system *from* root, and it wouldn't help with the time problem at all since the kernel would still have to block the process installing the BPF to wait for verification/JITing anyway...)
It just makes me icky seeing that people are basically writing compilers that run in kernelspace. Surely there must be a better way.