News for hackers. Stuff that matters.
Re:First fully sandboxed Linux desktop app by greggman on Tuesday February 17, 2015 @04:34PM (#9065194)
Maybe I'm missing it but I don't see how DRI is really sandboxing OpenGL.

Note: I helped write the OpenGL sandbox in Chrome and it's certainly possible I don't know the details of DRI enough to understand how it sandboxes but I do know what we had to do to sandbox OpenGL in Chrome, that includes re-writing shaders since we can't trust the driver, clearing buffers since OpenGL doesn't and so you can read other processes' data, and many other things and as far as I can tell DRI isn't doing things like that.

Re:First fully sandboxed Linux desktop app by alexlarsson on Wednesday February 18, 2015 @02:38AM (#9067429)
At the moment we grant all of /dev/dri, but long term we want only the render nodes accessible. That gives us no modesetting or DRM master capabilities, only rendering.

It is true though that the drivers could very well have leaks in them, but the userspace sandbox is not the place to fix that, it is the drivers themselves. The intent is for the dri driver APIs to give guarantees about client separation, but I'm sure it needs work.

Re:First fully sandboxed Linux desktop app by greggman on Wednesday February 18, 2015 @05:30PM (#9071403)
The drivers will never be fixed. Chrome doesn't trust them. It's not in their interest to fix them since sales are determined by performance not by security.
Re:First fully sandboxed Linux desktop app by lunixbochs on Tuesday February 17, 2015 @05:06PM (#9065420)
I'm pretty sure DRI doesn't do anything special to the OpenGL calls, so they just get punted into the scary binary client library from your GPU vendor.