This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 3/8] Enable vDSO on interposed malloc linked statically
- From: DJ Delorie <dj at redhat dot com>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 08 Oct 2019 15:04:53 -0400
- Subject: Re: [PATCH 3/8] Enable vDSO on interposed malloc linked statically
Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
>> Checked on x86_64-linux-gnu.
>>
>> [BZ #24967]
>> * sysdeps/unix/sysv/linux/init-first.c (libc_vdso_mangled_symbol):
>> New symbol.
>> (__libc_vdso_platform_setup): Add an option to call it to initialize
>> the hooks to null values.
>> (VDSO_PRE_SETUP): Define.
>> * csu/init-first.c (_init): Add a pre-hook to initialize the vDSO
>> internal pointer.
>> * malloc/tst-interpose-aux.c (allocation_header): Add ts member.
>> (malloc_internal): Call clock_gettime.
the malloc/tst-interpose-aux.c part is OK with me
(don't feel qualified to OK the rest of it yet ;)