Re: [PATCH v2] coredump: Use 64bit time for unix time of coredump

From: Arnd Bergmann
Date: Wed Jan 28 2015 - 20:30:12 EST


On Wednesday 28 January 2015 10:46:06 Tina Ruchandani wrote:
> struct timeval on 32-bit systems will have its tv_sec
> value overflow in year 2038 and beyond.
> Use a 64 bit value to print time of the coredump in seconds.
> ktime_get_real_seconds is chosen here for efficiency reasons.
>
> Suggested by: Arnd Bergmann <arnd@xxxxxxxx>
> Signed-off-by: Tina Ruchandani <ruchandani.tina@xxxxxxxxx>

Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/