News for hackers. Stuff that matters.
Re:Nginx on Wasmjit by microcolonel on Friday December 07, 2018 @11:10PM (#18633875)
> Preventing side-effects from leaking between processes (and ring levels) entirely at the hardware level is definitely going to happen. Within a process, though? That's not going to happen without multiple major players demanding it. Since nearly all the major CPU consumers are currently happy with process boundaries being the security enforcement zones, there's no particular reason to believe that in-process sandboxing will ever have hardware fixes to prevent spectre attacks.

I do not think there is the degree of distinction between "processes" and "threads" that you think there is. If tools exist to isolate speculation state between processes, those tools can probably also isolate threads in a process.

Re:Nginx on Wasmjit by kllrnohj on Saturday December 08, 2018 @06:02PM (#18638047)
Of course there is. Threads share page tables, processes don't. Literally the exact distinction between threads & processes in userspace is the one that exists in hardware, too.
Re:Nginx on Wasmjit by monocasa on Monday December 10, 2018 @01:26PM (#18649991)
Processes share the higher half of the page tables at least partially, even with KPTI turned on.