glibc 2.19 - asyn-signal safe TLS and ASan.

Carlos O'Donell carlos@redhat.com
Thu Jan 30 05:54:00 GMT 2014


On 01/30/2014 12:52 AM, Kostya Serebryany wrote:
>> Not terrible at all, quite elegant actually.
> 
> As a hack -- yes, maybe.

Sorry, you made it sound really bad, but the solution was elegant.

> As a real solution for 2.20+ -- I hope we can do better.
> Besides, adding an interceptor to __tls_get_addr means that dynamic
> TLS under sanitizers
> will become even slower.

I fully agree that we need a solution in 2.20+.

Cheers,
Carlos.



More information about the Libc-alpha mailing list