News for hackers. Stuff that matters.
Re:Lucet: Native WebAssembly Compiler and Runtime by kllrnohj on Thursday March 28, 2019 @04:04PM (#19516023)
It also compromises on resource abuse: "lucet does not currently provide a framework for protecting against guests that consume excessive CPU time (e.g. via an infinite loop). These protections must be provided by the host environment."

I'm not sure how you're supposed to handle that, either, given host environment usually does limiting at a process granularity but this doesn't use multiple processes.

Re:Lucet: Native WebAssembly Compiler and Runtime by int_19h on Thursday March 28, 2019 @10:29PM (#19518626)
Most OSes have a way to specify priority for a given thread.
Re:Lucet: Native WebAssembly Compiler and Runtime by kllrnohj on Friday March 29, 2019 @01:04AM (#19519281)
Priority yes, but that's barely useful. cgroups, rlimits, cpulimit, etc... are far more useful here, and are all per-process.
Re:Lucet: Native WebAssembly Compiler and Runtime by kentonv on Friday March 29, 2019 @01:46AM (#19519443)
You can use timer_create to arrange to deliver a signal after some amount of CPU time elapsed, then terminate the sandbox from the signal handler.