On 04/12/16 10:59 AM, Carlos Alberto Lopez Perez wrote:
* The Mesa driver uses this environment variable to override the
default compiled search path for DRI drivers.
* This is useful for testing purposes when the user needs to
override the system default one at runtime.
+ dri_driver_path = getenv("LIBGL_DRIVERS_PATH");
Yeah, I really would rather not have a setuid-root program dlopen and execute
code from a user supplied path. Can we have something in there to prevent
disasters, such as issetugid() or secure_getenv()?
--
-Alan Coopersmith- [email protected]
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel