Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Tony Breeds 74609f4536 [POWERPC] Fix VDSO gettimeofday() when called with NULL struct timeval
Consider the prototype for gettimeofday():
	int gettimofday(struct timeval *tv, struct timezone *tz);

Although it is valid to call with /either/ tv or tz being NULL, and
the C version of sys_gettimeofday() supports this, the current version
of gettimeofday() in the VDSO will SEGV if called with a NULL tv.

This adds a check for tv being NULL so that it doesn't SEGV.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-06-26 14:41:19 +10:00
..
2007-05-11 05:38:25 -04:00
2007-05-08 13:37:51 +10:00
2007-05-08 13:40:31 +10:00
2007-03-22 22:52:58 +11:00
2007-02-07 14:03:22 +11:00
2006-12-11 16:35:07 +11:00
2007-05-08 13:40:31 +10:00
2006-08-08 17:08:56 +10:00
2007-05-02 20:04:30 +10:00
2007-05-08 13:40:31 +10:00
2007-05-12 11:32:47 +10:00
2007-05-08 13:37:51 +10:00