diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-11-25 16:22:25 +0100 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2016-04-18 08:51:07 -0400 |
commit | 0fea20fcc6806c82232a046a872838c0f06999e4 (patch) | |
tree | 9a83a6da72902e73613682400bf301e4e914c971 /samples/pktgen/pktgen.conf-1-1-ip6 | |
parent | bef794e8c891b60da2dec86c90f1e46fa142ea1e (diff) |
coredump: Use 64bit time for unix time of coredump
[ Upstream commit 03927c8acb63100046260711c06ba28b6b5936fb ]
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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'samples/pktgen/pktgen.conf-1-1-ip6')
0 files changed, 0 insertions, 0 deletions