Re: [PATCH vdsotest] Use vdso wrapper for gettimeofday()

From: Nathan Lynch
Date: Mon Apr 13 2020 - 12:07:48 EST


Christophe Leroy <christophe.leroy@xxxxxx> writes:
> Hi Nathan,
>
> Le 16/01/2020 Ã 17:56, Nathan Lynch a ÃcritÂ:
>> Hi Christophe,
>>
>> Christophe Leroy <christophe.leroy@xxxxxx> writes:
>>> To properly handle errors returned by gettimeofday(), the
>>> DO_VDSO_CALL() macro has to be used, otherwise vdsotest
>>> misinterpret VDSO function return on error.
>>>
>>> This has gone unnoticed until now because the powerpc VDSO
>>> gettimeofday() always succeed, but while porting powerpc to
>>> generic C VDSO, the following has been encountered:
>>
>> Thanks for this, I'll review it soon.
>>
>> Can you point me to patches for the powerpc generic vdso work?
>>
>
> I have not seen any update on the vdsotest repository, have you been
> able to have a look at the patch ?

Thanks for the reminder. I've applied this now.