On Mon, 2005-09-26 at 01:54 +0100, Dave Airlie wrote: > I was talking to Ben on IRC about this and I realised I wasn't really sure > about this.. > > At the moment we allow the DRI client full r/w access to the framebuffer > if I'm not mistaken (for software fallbacks and the like).. > > If I put the PCIE GART table into fb memory (which I've no choice in), the > user can mess it up and potentially in my mind cause us to read data from > anywhere in system RAM... > > Do we need to restrict the size of the maps we allow the DRI clients to > acess in the FB area?
That would be good. FWIW, it's done that way in fglrx. -- Earthling Michel Dänzer | Debian (powerpc), X and DRI developer Libre software enthusiast | http://svcs.affero.net/rm.php?r=daenzer ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel