From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2992440AbaEPXH3 (ORCPT ); Fri, 16 May 2014 19:07:29 -0400 Received: from terminus.zytor.com ([198.137.202.10]:60744 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756171AbaEPXHS (ORCPT ); Fri, 16 May 2014 19:07:18 -0400 Message-ID: <537699E7.9050005@zytor.com> Date: Fri, 16 May 2014 16:06:15 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Christoph Hellwig , One Thousand Gnomes CC: Arnd Bergmann , James Bottomley , Geert Uytterhoeven , Thomas Gleixner , Ley Foon Tan , Linux-Arch , "linux-kernel@vger.kernel.org" , LeyFoon Tan , Chung-Lin Tang Subject: Re: [PATCH 00/25] Change time_t and clock_t to 64 bit References: <1399971456-3941-1-git-send-email-lftan@altera.com> <8468354.y2kUZdOz9e@wuerfel> <1400168823.7862.9.camel@dabdike> <9176609.NChAu49t7f@wuerfel> <20140515220717.1ced0f1a@alan.etchedpixels.co.uk> <20140516074826.GB8555@infradead.org> In-Reply-To: <20140516074826.GB8555@infradead.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/16/2014 12:48 AM, Christoph Hellwig wrote: > > The stat(64) syscall already has stopped time_t for a long time: > > struct stat64 { > ... > int st_atime; /* Time of last access. */ > unsigned int st_atime_nsec; > int st_mtime; /* Time of last modification. */ > unsigned int st_mtime_nsec; > int st_ctime; /* Time of last status change. */ > unsigned int st_ctime_nsec; > }; > ... except that that is really a struct timespec just written weirdly, and userspace uses it as a struct timespec. -hpa