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

2020-04-13 Thread Nathan Lynch
Christophe Leroy writes: > Hi Nathan, > > Le 16/01/2020 à 17:56, Nathan Lynch a écrit : >> Hi Christophe, >> >> Christophe Leroy writes: >>> To properly handle errors returned by gettimeofday(), the >>> DO_VDSO_CALL() macro has to be used, otherwise vdsotest >>> misinterpret VDSO function

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

2020-04-07 Thread Christophe Leroy
Hi Nathan, Le 16/01/2020 à 17:56, Nathan Lynch a écrit : Hi Christophe, Christophe Leroy 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

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

2020-01-16 Thread Christophe Leroy
Le 16/01/2020 à 17:56, Nathan Lynch a écrit : Hi Christophe, Christophe Leroy 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

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

2020-01-16 Thread Nathan Lynch
Hi Christophe, Christophe Leroy 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

[PATCH vdsotest] Use vdso wrapper for gettimeofday()

2020-01-15 Thread Christophe Leroy
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