This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: glibc 2.19 - asyn-signal safe TLS and ASan.


On Mon, Jan 27, 2014 at 5:37 AM, Kostya Serebryany <kcc@google.com> wrote:

>> > How do I "export" __signal_safe_memalign? (I/d like to experiment myself)
>> You'll need this snippet of above patch: (line 61,5):
>
> Paul, I tried this:
>
> --- a/elf/Versions
> +++ b/elf/Versions
> @@ -62,5 +62,8 @@ ld {
>
>      # Pointer protection.
>      __pointer_chk_guard;
> +    # for signal safe TLS
> +    __signal_safe_malloc; __signal_safe_free; __signal_safe_memalign;
> +    __signal_safe_realloc; __signal_safe_calloc;
>    }
>  }
>
> it did not help: "nm libc.so | grep signal_safe_memalign" is empty.

It probably did. I believe these functions are defined and used in
'ld.so', so try 'nm ld.so | grep signal_safe'.


-- 
Paul Pluzhnikov


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]