[Mesa-dev] [PATCH 6/7] mesa: Skip looking at debug environment variables when setuid.

Eric Anholt eric at anholt.net
Tue Mar 20 15:23:23 PDT 2012


On Thu, 8 Mar 2012 13:37:46 -0800 (PST), Jose Fonseca <jfonseca at vmware.com> wrote:
> FWIW, I think that debug builds of Mesa should allow debugging options
> all the time. Secure installs should use release builds.
> 
> The added code lines are not portable, so they need to be compiled
> conditionally . At least #if !defined(_WIN32) ... #endif .

I see plenty of recommendations in google that people compile with
--enable-debug, and optional package repositories that mention turning
it on.  I don't think we should give those people security issues.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120320/422df025/attachment.pgp>


More information about the mesa-dev mailing list