commit | 03927c8acb63100046260711c06ba28b6b5936fb | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Wed Nov 25 16:22:25 2015 +0100 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun Dec 06 21:17:17 2015 -0500 |
tree | a9d112dd05a9baeb26500dcb085be2ed313b2d5c | |
parent | 0125f504ed320826a78b43d636de957d703465a8 [diff] |
coredump: Use 64bit time for unix time of coredump 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@arndb.de> Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>