[PATCH vdsotest] Use vdso wrapper for gettimeofday()

Nathan Lynch nathanl at linux.ibm.com
Fri Jan 17 03:56:56 AEDT 2020


Hi Christophe,

Christophe Leroy <christophe.leroy at c-s.fr> 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?


More information about the Linuxppc-dev mailing list