]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
coredump: Use 64bit time for unix time of coredump
authorTina Ruchandani <ruchandani.tina@gmail.com>
Wed, 28 Jan 2015 05:16:06 +0000 (10:46 +0530)
committerArnd Bergmann <arnd@arndb.de>
Tue, 3 Nov 2015 16:34:46 +0000 (17:34 +0100)
commit8750343a6505287e6af3388262e2da87c3f11acb
tree6f58521918089640fc44a091a6f7e681a7515253
parent441c1ffc6c6a20209ebd2d8d6d182ed1b761d80f
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>
fs/coredump.c