[Mesa-dev] [Intel-gfx] [PATCH 03/11] i965: copy in system routine, reserve extra scratch
ben at bwidawsk.net
Sat Jun 25 17:16:57 PDT 2011
On Fri, Jun 24, 2011 at 05:37:11PM -0700, Eric Anholt wrote:
> On Fri, 24 Jun 2011 12:42:48 -0700, Ben Widawsky <ben at bwidawsk.net> wrote:
> > The debugger shared memory needs to be a fixed size. Since this is
> > scratch memory that is already used by register spilling, add
> > appropriate hooks to do the right thing when debugging.
> > Also copy in a binary blob system routine based on an environment
> > variable. This blob will need to be relocated, and emitted as part of
> > the state setup. We do this part now since there is no point debugging
> > if that fails.
> > Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
> This patch loads a file from a user-defined path into graphics memory,
> which is accessible by any user with DRI permissions. If the X Server
> is setuid, then it seems this patch would allow loading any file on the
> system by a user with permission to start the setuid X Server.
Well since you put it that way, that does sound like a really bad idea.
Do you have a recommendation? I suppose I can get a make install working
to install the system routine to wherever mesa was installed and read it
from there when mesa runs. Does that sound like the best solution to
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: not available
More information about the mesa-dev