Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 22 Aug 2019 21:36:08 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: [PATCH libc-test] tls_local_exec.c: add a dynamic
 relocation test case

* Fangrui Song <i@...kray.me> [2019-08-14 03:20:04 +0000]:
> commit 9d35fec9e1f391d56faee20b868ef4114bcc4d8a fixed a TLS bug introduced
> in commit ffab43602b5900c86b7040abdda8ccf6cdec95f5.
> 
> % make B=/tmp/libc-test-x86_64 /tmp/libc-test-x86_64/functional/tls_local_exec.err
> ...
> % cat /tmp/libc-test-x86_64/functional/tls_local_exec.err
> FAIL /tmp/libc-test-x86_64/functional/tls_local_exec.exe [signal Segmentation fault]
> 
> static __thread const char *s1 = "s1";
> 
> produces a dynamic relocation against .tdata in a -pie build, which can
> have caught the regression.

thanks committed

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.