> For hardware decoders, maybe using dmabuff buffers shared between multiple processes would work?
This is not portable, but this is a possible solution for Linux.
But this is far from being ready, which is one of my main point :)
Re:First fully sandboxed Linux desktop app
by alexlarsson on Wednesday February 18, 2015 @02:47AM
(#9067447)
Well, the sandboxing stuff is not ready either. We need work on all levels of the stack to make this stuff work.
Did you look into the new memfd support in the kernels? Seems like this is a pretty cool way to do process splitting while sharing memory in a "safe" way. (i.e. the recieving side can guarantee that the sending side is not playing silly-buggers with the buffers while you read them).
For hardware decoders, maybe using dmabuff buffers shared between multiple processes would work?