Hi,

On Friday, September 14, 2012 00:08:27 Kenneth Graunke wrote:
> I wonder if there's something better we can do.  I don't know what though.

Is there any deep reason why we use RTLD_GLOBAL for dlopening the drivers?

If not we could use RTLD_LOCAL | RTLD_DEEPBIND instead of RTLD_GLOBAL. This 
should at least provide some more isolation tha we have today. At least a 
quick test with r600g works fine.

In the far term we might want to look at dlmopen together with LM_ID_NEWLM for 
loading the drivers. Similar quick tests with that did not succeed. So that 
would need a deeper look.

Greetings

Mathias
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to