From: Arnd Bergmann Subject: Re: [PATCH v2] coredump: Use 64bit time for unix time of coredump Date: Wed, 28 Jan 2015 12:31:10 +0100 Message-ID: <10182197.2ytoa1pSci@wuerfel> References: <20150128051606.GA4659@tinar> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Alexander Viro To: Tina Ruchandani Return-path: In-Reply-To: <20150128051606.GA4659@tinar> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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 > Signed-off-by: Tina Ruchandani Reviewed-by: Arnd Bergmann