[PATCH v2.1 ] Fix VDSO gettimeofday() when called with NULL struct timeval.
Segher Boessenkool
segher at kernel.crashing.org
Sat Jun 30 08:45:47 EST 2007
> The vdso64 portion of patch 74609f4536f2b8fd6a48381bbbe3cd37da20a527
> for
> fixing problems with NULL gettimeofday input mistakenly checks for a
> null tz field twice, when it should be checking for null tz once, and
> null tv once; by way of a r10/r11 typo.
>
> Any application calling gettimeofday(&tv,NULL) will "fail".
>
> This corrects that typo, and makes my G5 happy.
>
> tested on G5.
>
>
> Signed-off-by: Will Schmidt <will_schmidt at vnet.ibm.com>
Obviously correct, how could we all have missed this :-(
Thanks Will.
Segher
More information about the Linuxppc-dev
mailing list