From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa4.mentor.iphmx.com (esa4.mentor.iphmx.com [68.232.137.252]) by sourceware.org (Postfix) with ESMTPS id EEFA8384A01D for ; Sat, 6 Mar 2021 00:07:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EEFA8384A01D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joseph_myers@mentor.com IronPort-SDR: F/bmQDExHFKrlJCU1EWal9iYcOYo/KjPcLkW3gD3gBUlet31NsZQuF9s1Am2FZvEwYeYsYtUGU OvBt4uxY8dfuPsBreyuqc2CrSPMKdHMYO0D8N3cZegZKlj6+dX7imWHLaixeJmEgt5OakiRNuF AHqFIYraxM2eEnI0rogJVy2/t242AN3pg+udsEKpHpO6CDfyVcqo3ek60A3z4I+QJ2kNy2nRrT fwxwae5UuYkQCXByhSMqf4zGoOyVkXXNCrPZLMroJQFJ5SFoDv07KQFxQsRSTSt8njxgXvWIPm W6s= X-IronPort-AV: E=Sophos;i="5.81,226,1610438400"; d="scan'208";a="58952435" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa4.mentor.iphmx.com with ESMTP; 05 Mar 2021 16:07:39 -0800 IronPort-SDR: oaY4lABYgKuXvTVaFVyfejFVIp4w6eksYhNpBKtmFmOE/j5faYRirwuf415Un1H2ihyRh3wI5J p8kx0A6e29AEYAwJGrLeKVq3YW8s5cBcs9UK50oW/9sCI4XliND2Vhh2XCgmvURmaJe719dBu1 zq2PYtROtYdSPpUFXbHXC1n32URiotNJS/tH4tsMdxcO7D8Veh9fzyYa9CxcMSNBMn9gwjHlXr sG7q00jDgrlXNIDkWZydKzoljozq/CVVznJLL/MZK2AxO7AGzCNjTbnUCaTJyW1Y5y7KO0Y2kl 6BQ= Date: Sat, 6 Mar 2021 00:07:33 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Adhemerval Zanella CC: Subject: Re: [PATCH 22/52] login: Use 64-bit time on struct lastlog [BZ #25844] In-Reply-To: <20210305201518.798584-23-adhemerval.zanella@linaro.org> Message-ID: References: <20210305201518.798584-1-adhemerval.zanella@linaro.org> <20210305201518.798584-23-adhemerval.zanella@linaro.org> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3122.8 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 00:07:41 -0000 On Fri, 5 Mar 2021, Adhemerval Zanella via Libc-alpha wrote: > The new struct has the same size on both 32-bit and 64-bit > architectures. As for utmp{x} 64-bit time_t support, a new file name > is defined for _PATH_LASTLOG. I'd expect a NEWS entry, whether in this patch or another one, that goes into detail about how the different formats are handled for all affected files using the utmp and lastlog formats (so giving sufficient information for a distributor to implement upgrade support that avoids corrupting the files or losing any existing data in them, for example, and for anyone who wishes to write applications that access old files in the old formats). -- Joseph S. Myers joseph@codesourcery.com